Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
Signed-off-by: Ramkumar Chinchani <[email protected]>
  • Loading branch information
rchincha committed Apr 15, 2024
1 parent 363fe83 commit d4e4b19
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/actions/setup-localstack/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ runs:
registry: ghcr.io
username: ${{ inputs.username }}
password: ${{ inputs.password }}
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- shell: bash
run: |
pip install localstack==3.3.0 # Install LocalStack cli
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ecosystem-tools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install localstack
run: |
pip install --upgrade pyopenssl
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/sync-3rdparty-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,26 @@ jobs:
run: |
oras login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io
oras copy ghcr.io/aquasecurity/trivy-db:2 ghcr.io/${{ github.repository_owner }}/trivy-db:2
sync-localstack:
name: 'localstack'
permissions:
contents: read
packages: write
strategy:
matrix:
localstack_version:
- "3.3.0"
runs-on: ubuntu-latest
steps:
- name: Log in to GitHub Docker Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Tag and push localstack to ghcr
run: |
docker trust inspect localstack:${{ matrix.localstack_version }}
docker pull localstack:${{ matrix.localstack_version }}
docker tag localstack:${{ matrix.localstack_version }} ghcr.io/${{ github.repository_owner }}/ci-images/localstack:${{ matrix.localstack_version }}
docker push ghcr.io/${{ github.repository_owner }}/ci-images/localstack:${{ matrix.localstack_version }}

0 comments on commit d4e4b19

Please sign in to comment.