Skip to content

Commit

Permalink
apperently you can't do that
Browse files Browse the repository at this point in the history
  • Loading branch information
Erk- committed Mar 12, 2024
1 parent 86ff96e commit fa5d4e7
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,22 @@ jobs:
run: |
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
- name: Build ${{ matrix.tag }}
if: github.ref != 'refs/heads/trunk' || github.event_name == 'pull_request'
uses: docker/build-push-action@v5
with:
push: false
tags: http-proxy:${{ matrix.tag }}
build-args: |
FEATURES=${{ matrix.features }}
RUST_TARGET=${{ matrix.rust-target }}
MUSL_TARGET=${{ matrix.musl-target }}
- name: Build and push ${{ matrix.tag }}
if: github.ref == 'refs/heads/trunk' && github.event_name != 'pull_request'
uses: docker/build-push-action@v5
with:
push: github.ref == 'refs/heads/trunk' && github.event_name != 'pull_request'
push: true
tags: http-proxy:${{ matrix.tag }}
build-args: |
FEATURES=${{ matrix.features }}
Expand Down

0 comments on commit fa5d4e7

Please sign in to comment.