mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 22:30:56 +03:00
CI Docker: don't build full image on pull request
it will fail since the slim tag is not pushed
This commit is contained in:
1
.github/workflows/docker.yml
vendored
1
.github/workflows/docker.yml
vendored
@@ -154,6 +154,7 @@ jobs:
|
|||||||
org.opencontainers.image.licenses=${{ fromJson(steps.repo.outputs.result).license.spdx_id }}
|
org.opencontainers.image.licenses=${{ fromJson(steps.repo.outputs.result).license.spdx_id }}
|
||||||
|
|
||||||
- name: Build and push full
|
- name: Build and push full
|
||||||
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
builder: ${{ steps.builder-full.outputs.name }}
|
builder: ${{ steps.builder-full.outputs.name }}
|
||||||
|
|||||||
Reference in New Issue
Block a user