From 2d821f7ec7bcb019424c8b3267d9830b8f463dde Mon Sep 17 00:00:00 2001 From: Alexis Lefebvre Date: Wed, 29 Mar 2023 17:50:20 +0200 Subject: [PATCH] push images on tags --- .github/workflows/push.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index b8c15c5..0a91215 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -4,6 +4,8 @@ on: push: branches: - 'main' + tags: + - '*' jobs: push: @@ -34,4 +36,6 @@ jobs: with: context: "{{defaultContext}}:${{ matrix.image }}" push: true - tags: ghcr.io/troopers/${{ matrix.image }} + tags: | + ghcr.io/troopers/${{ matrix.image }}:${{github.ref_name}} + ghcr.io/troopers/${{ matrix.image }}:latest