Skip to content

Commit

Permalink
Update docker-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrevicenzi authored Apr 30, 2024
1 parent 6765238 commit c25c732
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,9 @@ jobs:
fail-fast: false
matrix:
include:
- dockerfile: ./nginx-download/Dockerfile
image: nginx-download
- dockerfile: ./rsync-server/Dockerfile
image: rsync-server
- dockerfile: ./rsync-transfer/Dockerfile
image: rsync-transfer
- image: nginx-download
- image: rsync-server
- image: rsync-transfer

permissions:
contents: read
Expand Down Expand Up @@ -87,8 +84,7 @@ jobs:
id: build-and-push
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
with:
context: .
file: ${{ matrix.dockerfile }}
context: ${{ matrix.image }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit c25c732

Please sign in to comment.