Push directly

This commit is contained in:
Piyush मिश्रः 2023-12-06 23:50:46 +05:30
parent b59a6e1acb
commit de0c878315
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