mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-19 14:38:00 +00:00
only save one tag per day
This commit is contained in:
committed by
GitHub
parent
ebc4ebda03
commit
7c7358af9c
2
.github/workflows/build-docker.yml
vendored
2
.github/workflows/build-docker.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
||||
steps:
|
||||
- name: Get current date
|
||||
id: date
|
||||
run: echo "::set-output name=date::$(date '+%Y%m%d%H%M%S')"
|
||||
run: echo "::set-output name=date::$(date '+%Y%m%d%H')"
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build the Docker image
|
||||
run: docker build . --file docker/Dockerfile --tag hascheksolutions/pictshare:${{ steps.date.outputs.date }} --tag hascheksolutions/pictshare:latest
|
||||
|
||||
Reference in New Issue
Block a user