mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-12 17:06:24 +02:00
Skip publishing Docker manifest when not main/dev
This commit is contained in:
parent
5231ba08d8
commit
7b27ef3eb5
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -288,7 +288,7 @@ jobs:
|
||||||
name: Create and Push Docker Manifest
|
name: Create and Push Docker Manifest
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build-oci
|
needs: build-oci
|
||||||
|
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev'
|
||||||
steps:
|
steps:
|
||||||
- name: Download OCI Images Artifacts
|
- name: Download OCI Images Artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
|
@ -351,4 +351,4 @@ jobs:
|
||||||
docker manifest create $REPO_DOCKER:$BRANCH_TAG \
|
docker manifest create $REPO_DOCKER:$BRANCH_TAG \
|
||||||
--amend conduwuit:${{ github.sha }}-x86_64-jemalloc \
|
--amend conduwuit:${{ github.sha }}-x86_64-jemalloc \
|
||||||
--amend conduwuit:${{ github.sha }}-aarch64-jemalloc
|
--amend conduwuit:${{ github.sha }}-aarch64-jemalloc
|
||||||
docker manifest push $REPO_DOCKER:$BRANCH_TAG
|
docker manifest push $REPO_DOCKER:$BRANCH_TAG
|
||||||
|
|
Loading…
Add table
Reference in a new issue