Skip to content

Commit e62cc1e

Browse files
committed
fix: trigger
1 parent a7f72c7 commit e62cc1e

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

.github/workflows/release.yml

+3-14
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Release
22

33
on:
44
push:
5-
branches:
6-
- "master"
75
tags:
86
- "v*"
97

@@ -49,18 +47,9 @@ jobs:
4947
with:
5048
platforms: linux/amd64,linux/arm64
5149
file: ${{ matrix.images.dockerfile }}
52-
tags: ${{ matrix.images.image_name }}:latest
53-
push: true
54-
cache-from: type=gha
55-
cache-to: type=gha,mode=max
56-
57-
- name: Add version tag
58-
if: startsWith(github.ref, 'refs/tags/v')
59-
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
60-
with:
61-
platforms: linux/amd64,linux/arm64
62-
file: ${{ matrix.images.dockerfile }}
63-
tags: ${{ matrix.images.image_name }}:${{ github.ref_name }}
50+
tags: |
51+
${{ matrix.images.image_name }}:latest
52+
${{ matrix.images.image_name }}:${{ github.ref_name }}
6453
push: true
6554
cache-from: type=gha
6655
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)