This commit is contained in:
Piyush मिश्रः 2023-12-06 22:33:33 +05:30
parent d9c87907bf
commit 2084876a76
1 changed files with 4 additions and 3 deletions

View File

@ -22,7 +22,8 @@ jobs:
- name: 'Build Inventory Image'
run: |
echo docker buildx build --load --platform linux/arm64 --build-arg="RUNNER_GROUP_ID=${env.RUNNER_GROUP_ID}" \
--build-arg="RUNNER_USER_ID=${{env.RUNNER_USER_ID}}" --build-arg="APP=${{vars.APP}}" -t --tag ghcr.io/${GITHUB_REPOSITORY,,}:main .
# docker push ghcr.io/${GITHUB_REPOSITORY,,}:main
docker buildx build --load --platform linux/arm64 --build-arg="RUNNER_GROUP_ID=${{vars.RUNNER_GROUP_ID}}" \
--build-arg="RUNNER_USER_ID=${{vars.RUNNER_USER_ID}}" --build-arg="APP=${{vars.APP}}" \
-t --tag ghcr.io/${GITHUB_REPOSITORY,,}:main .
docker push ghcr.io/${GITHUB_REPOSITORY,,}:main