Skip to content

Commit

Permalink
perf: update docker-publish.yml
Browse files Browse the repository at this point in the history
- Both release and dev publish will generate dev package.
  • Loading branch information
hlf20010508 authored Sep 20, 2023
1 parent 61775a6 commit 64c7869
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.REPO }}:${{ github.event.release.name }},${{ env.REPO }}:latest
tags: ${{ env.REPO }}:${{ github.event.release.name }},${{ env.REPO }}:latest,${{ env.REPO }}:dev
if: github.event_name == 'release' && github.event.action == 'published'

- name: Build and push image dev
Expand All @@ -53,4 +53,4 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.REPO }}:dev
if: github.event_name == 'workflow_dispatch'
if: github.event_name == 'workflow_dispatch'

0 comments on commit 64c7869

Please sign in to comment.