From 12f1680072805c34eef352e9e09965ffb1055546 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ber=C4=8Di=C4=8D?= Date: Mon, 23 Dec 2024 14:01:02 +0100 Subject: [PATCH] tmp --- .github/workflows/rofl-dev-image.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rofl-dev-image.yml b/.github/workflows/rofl-dev-image.yml index a61342bb90..d0704bd865 100644 --- a/.github/workflows/rofl-dev-image.yml +++ b/.github/workflows/rofl-dev-image.yml @@ -48,6 +48,16 @@ jobs: id: determine-tag uses: ./.github/actions/determine-tag + - name: Compute all push tags + id: push-tags + run: | + all_tags="ghcr.io/oasisprotocol/rofl-dev:${{ steps.determine-tag.outputs.tag }}" + if [ "${{ steps.determine-tag.outputs.tag }}" = "main" ]; then + all_tags="$all_tags,ghcr.io/oasisprotocol/rofl-dev:latest" + fi + echo "all_tags=$all_tags" + echo "all_tags=$all_tags" >> "$GITHUB_OUTPUT" + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -63,7 +73,7 @@ jobs: with: context: docker/rofl-dev file: docker/rofl-dev/Dockerfile - tags: ghcr.io/oasisprotocol/rofl-dev:${{ steps.determine-tag.outputs.tag }} + tags: ${{ steps.push-tags.outputs.all_tags }} pull: true push: true labels: |