summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMatthieuCoder <matthieu@matthieu-dev.xyz>2023-01-20 21:37:17 +0400
committerMatthieuCoder <matthieu@matthieu-dev.xyz>2023-01-20 21:37:17 +0400
commit2a4f38aa4597a0e7979b38c4b5060c779cde221b (patch)
tree357d22917176acbc74245a5450afebd5c468e061 /.github/workflows
parent88c054d53ec331e6760e5a1cc03ce4fd71f556dc (diff)
add tag per architecture
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/docker-publish.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index acaf9eb..93f4eaf 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -37,7 +37,11 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
+ - name: Create tag
+ run: |
+ export TAG="${{ matrix.platform }}"
+ export TAG=${TAG/linux\//}
+ echo ${TAG//\//-} > .env
- name: Build and push
uses: docker/bake-action@v2
with: