diff --git a/.github/workflows/CICD-dev.yml b/.github/workflows/CICD-dev.yml index adaef930..c9233955 100644 --- a/.github/workflows/CICD-dev.yml +++ b/.github/workflows/CICD-dev.yml @@ -53,7 +53,12 @@ jobs: file: ./Dockerfile-cleanup push: true tags: ${{ secrets.DOCKERHUB_USERNAME }}/inaturalistapi-cleanup:${{ github.ref_name }} - + build-args: | + GIT_BRANCH=${{ github.ref_name }} + GIT_COMMIT=${{ github.sha }} + IMAGE_TAG=${{ secrets.DOCKERHUB_USERNAME }}/inaturalistapi-cleanup:${{ github.ref_name }} + BUILD_DATE=${{ env.BUILD_DATE }} + refresh-dev-staging-deployment: name: Refresh Dev Staging Deployment needs: build-and-push-dev-docker-image diff --git a/.github/workflows/CICD-main.yml b/.github/workflows/CICD-main.yml index 0c28b42a..415c77e1 100644 --- a/.github/workflows/CICD-main.yml +++ b/.github/workflows/CICD-main.yml @@ -56,7 +56,12 @@ jobs: tags: | ${{ secrets.DOCKERHUB_USERNAME }}/inaturalistapi-cleanup:${{ github.sha }} ${{ secrets.DOCKERHUB_USERNAME }}/inaturalistapi-cleanup:latest - + build-args: | + GIT_BRANCH=${{ github.ref_name }} + GIT_COMMIT=${{ github.sha }} + IMAGE_TAG=${{ secrets.DOCKERHUB_USERNAME }}/inaturalistapi-cleanup:latest + BUILD_DATE=${{ env.BUILD_DATE }} + refresh-main-staging-deployment: name: Refresh Main Staging Deployment needs: build-and-push-main-docker-image