Skip to content

Commit 0e15f56

Browse files
authored
tag with run id instead of date
1 parent 7c01a40 commit 0e15f56

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docker-image.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v3
1717
- name: Build the Debian Docker image
18-
run: docker build . --file Dockerfile --tag backup-utils-debian:$(date +%s)
18+
run: docker build . --file Dockerfile --tag backup-utils-debian:${{ env. GITHUB_RUN_ID }}
1919
- name: Build the Alpine Docker image
20-
run: docker build . --file Dockerfile.alpine --tag backup-utils-alpine:$(date +%s)
20+
run: docker build . --file Dockerfile.alpine --tag backup-utils-alpine:${{ env. GITHUB_RUN_ID }}
2121
- name: Run tests in Debian Docker image
22-
run: docker run backup-utils-debian:$(date +%s) script/cibuild --no-package
22+
run: docker run backup-utils-debian:${{ env. GITHUB_RUN_ID }} script/cibuild --no-package
2323
- name: Run tests in Alpine Docker image
24-
run: docker run backup-utils-alpine:$(date +%s) script/cibuild --no-package
24+
run: docker run backup-utils-alpine:${{ env. GITHUB_RUN_ID }} script/cibuild --no-package

0 commit comments

Comments
 (0)