From 47c3d74ae10d87a702b4ebac6a3ed8142432f7d5 Mon Sep 17 00:00:00 2001 From: Seth Simmons Date: Wed, 24 Mar 2021 12:01:39 -0400 Subject: [PATCH] Add checkout to fix tagging --- .github/workflows/update-base-image.yml | 2 ++ .github/workflows/update-image-on-push.yml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-base-image.yml b/.github/workflows/update-base-image.yml index d0501eb..e2eaad5 100644 --- a/.github/workflows/update-base-image.yml +++ b/.github/workflows/update-base-image.yml @@ -24,6 +24,8 @@ jobs: with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} + - name: "Checkout repository" + uses: "actions/checkout@v2" - name: "Get Monero Release Tag" id: get_tag diff --git a/.github/workflows/update-image-on-push.yml b/.github/workflows/update-image-on-push.yml index e1f2845..4be58e2 100644 --- a/.github/workflows/update-image-on-push.yml +++ b/.github/workflows/update-image-on-push.yml @@ -25,10 +25,12 @@ jobs: with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} + - name: "Checkout repository" + uses: "actions/checkout@v2" - name: "Get Monero Release Tag" id: get_tag - run: echo "::set-output name=tag::$(awk -F "=" '/MONERO_BRANCH=/ {print $2}' ./Dockerfile)" + run: echo "::set-output name=tag::$(awk -F "=" '/MONERO_BRANCH=/ {print $2}' Dockerfile)" - name: Build and push to Docker Hub and Github Packages Docker Registry id: docker_build