Skip to content

Commit

Permalink
refactor: use docker-login
Browse files Browse the repository at this point in the history
  • Loading branch information
blacha committed Dec 12, 2024
1 parent 65ae84a commit 849a3f3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,13 @@ jobs:
cp -r packages/lambda-tiler/static/ packages/server/
cp -r packages/lambda-tiler/static/ packages/cli/
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- name: Login to GitHub Container Registry
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: '@basemaps/cli - Build and export to Docker'
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 849a3f3

Please sign in to comment.