From 567efb9ec06d7e390d839059ad1cae023a383832 Mon Sep 17 00:00:00 2001 From: "Luke Tainton (ltainton)" Date: Fri, 20 Oct 2023 19:52:23 +0100 Subject: [PATCH] fix(ci): correct reference to previous CI job --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3fa882..baad408 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,8 +33,8 @@ jobs: - name: Login to GitHub Container Registry run: echo ${{ secrets.GHCR_ACCESS_TOKEN }} | docker login ghcr.io -u luketainton --password-stdin - name: Build image for GitHub Package Registry - run: docker build . --file Dockerfile --tag ghcr.io/luketainton/roboluke-tasks:${{ needs.job1.outputs.new_tag }} --tag ghcr.io/luketainton/roboluke-tasks:latest + run: docker build . --file Dockerfile --tag ghcr.io/luketainton/roboluke-tasks:${{ needs.release.outputs.new_tag }} --tag ghcr.io/luketainton/roboluke-tasks:latest - name: Push image to GitHub Package Registry run: | docker push ghcr.io/luketainton/roboluke-tasks:latest - docker push ghcr.io/luketainton/roboluke-tasks:${{ needs.job1.outputs.new_tag }} + docker push ghcr.io/luketainton/roboluke-tasks:${{ needs.release.outputs.new_tag }}