From 6a0e3eaeed181892958073f74ffb177e5db8cea0 Mon Sep 17 00:00:00 2001 From: Robbi Bishop-Taylor Date: Mon, 5 Aug 2024 13:34:06 +1000 Subject: [PATCH] Update dea-coastlines-image.yaml --- .github/workflows/dea-coastlines-image.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/dea-coastlines-image.yaml b/.github/workflows/dea-coastlines-image.yaml index dfb308e..96093b6 100644 --- a/.github/workflows/dea-coastlines-image.yaml +++ b/.github/workflows/dea-coastlines-image.yaml @@ -145,6 +145,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 + with: + fetch-depth: 0 # If action is triggered by a release, push image to # Dockerhub using custom image tag extracted from the release @@ -162,6 +164,14 @@ jobs: git fetch --all --tags echo "RELEASE=$(git describe --tags)" >> $GITHUB_ENV + - name: Debug RELEASE variable + run: echo "RELEASE=${{ env.RELEASE }}" + + - name: Debug + run: | + echo "IMAGE_NAME: ${{ env.IMAGE_NAME }}" + echo "RELEASE: ${{ env.RELEASE }}" + - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 with: