We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ee840a commit ba13ec3Copy full SHA for ba13ec3
1 file changed
.github/workflows/build.yml
@@ -6,6 +6,10 @@ on:
6
- "**.md"
7
branches:
8
- master
9
+ tags:
10
+ - 'v*'
11
+ release:
12
+ types: [published]
13
workflow_dispatch:
14
15
jobs:
@@ -15,8 +19,10 @@ jobs:
19
include:
16
20
- runner: ubuntu-24.04
17
21
platform: linux/amd64
22
+ tag: latest
18
23
- runner: ubuntu-24.04-arm
24
platform: linux/arm64
25
+ tag: latest-arm
26
runs-on: ${{ matrix.runner }}
27
steps:
28
- name: "Checkout GitHub Action"
@@ -33,5 +39,5 @@ jobs:
33
39
run: |
34
40
sudo apt-get update
35
41
sudo apt-get install -y podman
36
- podman build . --platform ${{ matrix.platform}} -t ghcr.io/evanc577/sourcecatcher:latest
37
- podman push ghcr.io/evanc577/sourcecatcher:latest
42
+ podman build . --platform ${{ matrix.platform }} -t ghcr.io/evanc577/sourcecatcher:${{ matrix.tag }}
43
+ podman push ghcr.io/evanc577/sourcecatcher:${{ matrix.tag }}
0 commit comments