mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-04 04:23:55 -07:00
bind pushing dynamically on successful login
This commit is contained in:
parent
7e7d2e23d5
commit
185828088b
1 changed files with 2 additions and 1 deletions
3
.github/workflows/docker-release.yml
vendored
3
.github/workflows/docker-release.yml
vendored
|
|
@ -58,6 +58,7 @@ jobs:
|
|||
|
||||
- name: "Login to GitHub Container Registry"
|
||||
if: ${{ github.event_name == 'release' && github.event.release.prerelease == false }}
|
||||
id: login
|
||||
uses: docker/login-action@v4
|
||||
with:
|
||||
password: ${{ github.token }}
|
||||
|
|
@ -73,5 +74,5 @@ jobs:
|
|||
context: .
|
||||
labels: ${{ steps.metadata.outputs.labels }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.event_name == 'release' && github.event.release.prerelease == false }}
|
||||
push: ${{ steps.login.outcome == 'success' }}
|
||||
tags: ${{ steps.metadata.outputs.tags }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue