Skip to content

Commit

Permalink
push instead of load (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominion5254 authored Jan 16, 2025
1 parent df0bc22 commit 3e0152d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
tags:
- v*
pull_request: []
workflow_dispatch:

jobs:
push-image:
Expand All @@ -20,7 +21,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build image
run: docker buildx build . --platform linux/amd64,linux/arm64 --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}" --load
run: docker buildx build . --platform linux/amd64,linux/arm64 --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}" --push
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

Expand Down

0 comments on commit 3e0152d

Please sign in to comment.