Skip to content

Commit

Permalink
Push directly
Browse files Browse the repository at this point in the history
  • Loading branch information
PiyushXCoder committed Dec 6, 2023
1 parent b59a6e1 commit de0c878
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ jobs:
- name: 'Build Inventory Image'
run: |
docker buildx create --name builder1 --use --bootstrap
docker buildx build --load --platform linux/arm64/v8,linux/amd64 \
docker buildx build --push --platform linux/arm64/v8,linux/amd64 \
--build-arg="RUNNER_GROUP_ID=${{vars.RUNNER_GROUP_ID}}" \
--build-arg="RUNNER_USER_ID=${{vars.RUNNER_USER_ID}}" \
--build-arg="APP=${{vars.APP}}" --tag ghcr.io/${GITHUB_REPOSITORY,,}:main $(pwd)
docker push ghcr.io/${GITHUB_REPOSITORY,,}:main

0 comments on commit de0c878

Please sign in to comment.