Skip to content

Commit

Permalink
fix: manual push
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Buchleitner <[email protected]>
  • Loading branch information
mabunixda committed Dec 6, 2024
1 parent aaf9033 commit b5e4aaa
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,11 @@ jobs:
password: ${{ secrets.BOT_ACCESS_TOKEN }}

- name: Publish container
if: needs.pre-commit.outputs.version != ''
uses: docker/build-push-action@v5
with:
context: ${{ steps.get_dir.outputs.docker_directory }}
file: ${{ inputs.dockerfile }}
push: ${{ github.event_name != 'pull_request' && needs.pre-commit.outputs.version != '' }}
tags: ${{ steps.prep.outputs.tags }}
platforms: ${{ inputs.platforms }}
build-args: ${{ inputs.build_args }}
if: ${{ github.event_name != 'pull_request' && needs.pre-commit.outputs.version != '' }}
run: |
for img in $(echo "${{ fromJson(steps.meta.outputs.json).tags }}"" | jq -r '.tags[]' ); do
docker push $img
done
release:
needs: [ pre-commit, build ]
Expand Down

0 comments on commit b5e4aaa

Please sign in to comment.