Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

chore(ci): fix branch for image tags #3

Merged
merged 1 commit into from
Sep 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,14 +178,14 @@ jobs:
type=sha,enable=${{ !startsWith(github.ref, 'refs/tags/v') }},priority=300,format=long,prefix=
- name: manifest
run: docker manifest create ${{ steps.meta.outputs.tags }} --amend ${{ steps.meta.outputs.tags }}-amd64 --amend ${{ steps.meta.outputs.tags }}-arm64v8
- name: manifest-master
run: docker manifest create ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:master --amend ${{ steps.meta.outputs.tags }}-amd64 --amend ${{ steps.meta.outputs.tags }}-arm64v8
if: github.ref == 'refs/heads/master'
- name: manifest-main
run: docker manifest create ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:main --amend ${{ steps.meta.outputs.tags }}-amd64 --amend ${{ steps.meta.outputs.tags }}-arm64v8
if: github.ref == 'refs/heads/main'
- name: push
run: docker manifest push ${{ steps.meta.outputs.tags }}
- name: push-master
run: docker manifest push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:master
if: github.ref == 'refs/heads/master'
- name: push-main
run: docker manifest push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:main
if: github.ref == 'refs/heads/main'

github-release:
runs-on: ubuntu-latest
Expand Down