Skip to content

Commit ba7fb74

Browse files
committed
switch to tag list
1 parent 56b5c20 commit ba7fb74

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.github/workflows/build.yml

+5-10
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,17 @@ jobs:
1313
run: docker build -t new .
1414
- name: Test container
1515
run: ./scripts/test.sh
16-
- name: Publish snapshot
17-
uses: akerl/[email protected]
18-
with:
19-
name: ${{ github.repository }}/image
20-
username: ${{ github.actor }}
21-
password: ${{ github.token }}
22-
registry: docker.pkg.github.com
23-
snapshot: true
24-
- name: Publish tags
25-
if: startsWith(github.ref, 'refs/tags/')
16+
- name: Get tags
17+
id: tags
18+
run: ./meta/get_tags.sh
19+
- name: Publish images
2620
uses: akerl/[email protected]
2721
with:
2822
name: ${{ github.repository }}/image
2923
username: ${{ github.actor }}
3024
password: ${{ github.token }}
3125
registry: docker.pkg.github.com
26+
tags: ${{ steps.tags.output.tags }}
3227
- name: Notify on success
3328
if: success()
3429
env:

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "meta"]
2+
path = meta
3+
url = https://github.com/dock0/action-helper

meta

Submodule meta added at 4998ddd

0 commit comments

Comments
 (0)