Skip to content

Commit

Permalink
Add build info
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvain-morin committed Jul 1, 2024
1 parent 8feabf6 commit 9fdb3de
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/CICD-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/CICD-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9fdb3de

Please sign in to comment.