Update docker-publish.yml

This commit is contained in:
Cohee 2024-04-06 16:04:05 +03:00 committed by GitHub
parent b4fcfcd6d6
commit 48295bc378
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,12 +32,18 @@ jobs:
# Using the following workaround because currently GitHub Actions
# does not support logical AND/OR operations on triggers
# It's currently not possible to have `branches` under the `schedule` trigger
- name: Checkout the release branch
- name: Checkout the release branch (on release)
if: ${{ github.event_name == 'release' }}
uses: actions/checkout@v3
with:
ref: "release"
- name: Checkout the release branch (on push)
if: ${{ github.event_name == 'push' }}
uses: actions/checkout@v3
with:
ref: "release"
- name: Checkout the staging branch
if: ${{ github.event_name == 'schedule' }}
uses: actions/checkout@v3