Skip to content

Commit

Permalink
Merge pull request #12 from developmentseed/registry
Browse files Browse the repository at this point in the history
Add login step to container registry in webapp workflow
  • Loading branch information
emmanuelmathot authored Oct 21, 2024
2 parents 46bc095 + 2e9dddd commit 3cbfcbd
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/webapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build container
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
context: ./webapp/
context: webapp/
file: ./webapp/Dockerfile
push: true
tags: "polder:dev"
tags: "ghcr.io/${{ github.repository_owner }}/polder:dev"

0 comments on commit 3cbfcbd

Please sign in to comment.