From 9607cff8a040cdde2d8bf909785d25600315fe45 Mon Sep 17 00:00:00 2001 From: Sergey Kuznetsov Date: Tue, 30 Jul 2024 16:56:37 +0100 Subject: [PATCH] ci: Fix errors in docker image uploading (#1570) --- .github/actions/build_docker_image/action.yml | 2 +- .github/workflows/nightly.yml | 1 + .github/workflows/update_docker_ci.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/actions/build_docker_image/action.yml b/.github/actions/build_docker_image/action.yml index 360f10db1..c3118a6d5 100644 --- a/.github/actions/build_docker_image/action.yml +++ b/.github/actions/build_docker_image/action.yml @@ -44,7 +44,7 @@ runs: id: meta with: images: ${{ inputs.image_name }} - tags: ${{ steps.generate_tags.outputs.tags }} + tags: ${{ inputs.tags }} - name: Build and push uses: docker/build-push-action@v5 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 2899524fe..44269adb0 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -188,6 +188,7 @@ jobs: with: tags: | type=raw,value=nightly + type=raw,value=${{ github.sha }} artifact_name: clio_server_Linux_Release strip_binary: true publish_image: ${{ github.event_name != 'pull_request' }} diff --git a/.github/workflows/update_docker_ci.yml b/.github/workflows/update_docker_ci.yml index b816b423e..5c53b6ab6 100644 --- a/.github/workflows/update_docker_ci.yml +++ b/.github/workflows/update_docker_ci.yml @@ -31,6 +31,6 @@ jobs: tags: | type=raw,value=latest type=raw,value=gcc_12_clang_16 - type=ref,value=${{ env.GITHUB_SHA }} + type=raw,value=${{ github.sha }} platforms: linux/amd64,linux/arm64 description: CI image for XRPLF/clio.