From 63acae4b1c56ce238a5a5d4f1338ae0eb856a0cc Mon Sep 17 00:00:00 2001 From: Evgeniy Alekseev Date: Thu, 31 Mar 2022 02:19:48 +0300 Subject: [PATCH] configure docker to work with tags --- .github/workflows/docker-image.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 3b885e3c..91ce55c9 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -10,6 +10,16 @@ jobs: runs-on: ubuntu-latest steps: + - name: extract docker metadata + id: meta + uses: docker/metadata-action@v3 + with: + images: | + arcan1s/ahriman + tags: | + type=ref,event=tag + type=edge + - name: setup QEMU uses: docker/setup-qemu-action@v1 @@ -26,4 +36,4 @@ jobs: uses: docker/build-push-action@v2 with: push: true - tags: arcan1s/ahriman:latest \ No newline at end of file + tags: ${{ steps.meta.outputs.tags }}