Skip to content

Commit

Permalink
Update calibre-fullserver-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ridgarou authored Oct 4, 2020
1 parent 793b622 commit c72d0b6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/calibre-fullserver-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ jobs:
password: ${{ env.DOCKER_PASSWORD }}
# Log out from the Docker registry at the end of a job
logout: true # optional, default is true

- name: Create image Flag
run: flag=$(date +%s)

- name: Build and push Docker images
# You may pin to the exact commit or the version.
# uses: docker/build-push-action@ab83648e2e224cfeeab899e23b639660765c3a89
Expand All @@ -62,7 +64,7 @@ jobs:
# Docker repository to tag the image with
repository: ${{ env.DOCKER_IMAGE_NAME }}
# Comma-delimited list of tags. These will be added to the registry/repository to form the image's tags
tags: ${{ env.DOCKER_IMAGE_NAME }}:latest, ${{ env.DOCKER_IMAGE_NAME }}:${{ date +%s }} # optional
tags: ${{ env.DOCKER_IMAGE_NAME }}:latest, ${{ env.DOCKER_IMAGE_NAME }}:${ flag } # optional
# Automatically tags the built image with the git reference as per the readme
#tag_with_ref: # optional
# Automatically tags the built image with the git short SHA as per the readme
Expand Down

0 comments on commit c72d0b6

Please sign in to comment.