Skip to content

Commit

Permalink
Merge branch 'master' into pv/polish
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Nov 20, 2023
2 parents c079b60 + f9d0ad8 commit 3568b13
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1

- name: Build
uses: docker/build-push-action@v3
with:
Expand All @@ -71,6 +64,15 @@ jobs:
--rm ghcr.io/${{ github.repository_owner }}/lambda-gdal:${{ matrix.gdal-version }} \
/local/tests/tests.sh
# Publish
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
if: github.ref == 'refs/heads/master'
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1

- name: Publish docker image
uses: docker/build-push-action@v3
if: github.ref == 'refs/heads/master'
Expand Down

0 comments on commit 3568b13

Please sign in to comment.