mirror of
https://github.com/dnlbauer/pdfact-service.git
synced 2026-09-10 22:25:30 +00:00
Update publish-docker.yml
This commit is contained in:
5
.github/workflows/publish-docker.yml
vendored
5
.github/workflows/publish-docker.yml
vendored
@@ -14,6 +14,9 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
- name: set tag
|
||||||
|
id: tag
|
||||||
|
run: echo "::set-output name=tag::$(date +%s)"
|
||||||
- name: docker login
|
- name: docker login
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
@@ -24,4 +27,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: ${{secrets.DOCKER_USER}}/pdfact-service:latest , ${{secrets.DOCKER_USER}}/pdfact-service:$(date +%s)
|
tags: ${{secrets.DOCKER_USER}}/pdfact-service:latest , ${{secrets.DOCKER_USER}}/pdfact-service:${{ steps.tag.outputs.tag }}
|
||||||
|
|||||||
Reference in New Issue
Block a user