Merge pull request #6 from PiyushXCoder/PiyushXCoder-workflow

Push directly
This commit is contained in:
Piyush मिश्रः 2023-12-06 23:51:17 +05:30 committed by GitHub
commit 2f0896aaae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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