mirror of
https://github.com/dnlbauer/pdfact-service.git
synced 2026-09-10 14:15:30 +00:00
Update publish-docker.yml
This commit is contained in:
6
.github/workflows/publish-docker.yml
vendored
6
.github/workflows/publish-docker.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
||||
id: tag
|
||||
run: echo "::set-output name=tag::$(date +%s)"
|
||||
- name: docker login
|
||||
if: ${{github.event_name != 'pull_request'}}
|
||||
if: ${{github.event_name != 'pull_request_target'}}
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{env.CONTAINER_REGISTRY_USER}}
|
||||
@@ -31,11 +31,11 @@ jobs:
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
push: ${{github.event_name != 'pull_request'}}
|
||||
push: ${{github.event_name != 'pull_request_target'}}
|
||||
tags: ${{env.CONTAINER_REGISTRY_USER}}/${{env.IMAGE_NAME}}:latest , ${{env.CONTAINER_REGISTRY_USER}}/${{env.IMAGE_NAME}}:${{ steps.tag.outputs.tag }}
|
||||
- name: docker push readme
|
||||
uses: christian-korneck/update-container-description-action@v1
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
if: ${{ github.event_name != 'pull_request_target' }}
|
||||
env:
|
||||
DOCKER_USER: ${{env.CONTAINER_REGISTRY_USER}}
|
||||
DOCKER_PASS: ${{secrets.DOCKER_PASSWORD}}
|
||||
|
||||
Reference in New Issue
Block a user