Skip to content

Commit

Permalink
Update publish-docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlbauer authored May 19, 2023
1 parent a999ef0 commit 6298b76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand All @@ -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}}
Expand Down

0 comments on commit 6298b76

Please sign in to comment.