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 Jun 13, 2024
1 parent e10f748 commit 264825a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/CICD-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3


- name: Set build date
run: echo "BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")"

- name: Build/Push Dev inaturalistapi
uses: docker/build-push-action@v5
with:
Expand All @@ -41,7 +44,7 @@ jobs:
GIT_BRANCH=${{ github.ref_name }}
GIT_COMMIT=${{ github.sha }}
IMAGE_TAG=${{ secrets.DOCKERHUB_USERNAME }}/inaturalistapi:${{ github.ref_name }}
BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
BUILD_DATE=${{ env.BUILD_DATE }}
refresh-dev-staging-deployment:
name: Refresh Dev Staging Deployment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CICD-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Set build date
run: echo "BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")"

Expand Down

0 comments on commit 264825a

Please sign in to comment.