Skip to content

Commit

Permalink
Merge pull request #6 from PiyushXCoder/PiyushXCoder-workflow
Browse files Browse the repository at this point in the history
Push directly
  • Loading branch information
PiyushXCoder authored Dec 6, 2023
2 parents dbe1de0 + de0c878 commit 2f0896a
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 2f0896a

Please sign in to comment.