Skip to content

Commit

Permalink
chore: added explicit login
Browse files Browse the repository at this point in the history
  • Loading branch information
francescotimperi committed Dec 9, 2024
1 parent 9bb10dd commit 4a95c31
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ jobs:
if: ${{ github.event_name != 'pull_request' }}
run: |
echo "IMG_TAG=$(git describe --tags --abbrev=0)" >> "$GITHUB_ENV"
- name: Registry login
uses: docker/login-action@v3
with:
registry: ghcr.io
username: nuvolaris
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
Expand All @@ -68,7 +74,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
tags: ghcr.io/openserverless-streamer:${{ env.IMG_TAG }}
# For pull requests, export results to the build cache.
# Otherwise, push to a registry.
Expand Down

0 comments on commit 4a95c31

Please sign in to comment.