From f842f517c04a77841342fbe5f02068f289f5f8f4 Mon Sep 17 00:00:00 2001 From: Emilio Palumbo Date: Fri, 10 Dec 2021 13:08:16 +0100 Subject: [PATCH] Fix steps id in GithubActions Docker workflow --- .github/workflows/docker.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 42624b1..7ff7086 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -27,27 +27,25 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and export to Docker - id: build-test uses: docker/build-push-action@v2 with: file: docker/Dockerfile load: true tags: ${{ env.TEST_TAG }} - labels: ${{ steps.docker_meta.outputs.labels }} + labels: ${{ steps.meta.outputs.labels }} - name: Test - id: test run: | ver=$(docker run --rm ${{ env.TEST_TAG }} --version) [[ "$ver" == "ggsashimi ${github_ref##*/}" ]] env: - github_ref: ${{ github.ref }} + github_ref: ${{ github.ref }}3 - name: Build and push id: build uses: docker/build-push-action@v2 with: file: docker/Dockerfile push: true - tags: ${{ steps.docker_meta.outputs.tags }} - labels: ${{ steps.docker_meta.outputs.labels }} + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} - name: Image digest - run: echo ${{ steps.docker_build.outputs.digest }} + run: echo ${{ steps.build.outputs.digest }}