We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 849a496 commit 5ac887bCopy full SHA for 5ac887b
.github/workflows/build-docker-image.yml
@@ -6,14 +6,13 @@ on:
6
env:
7
REGISTRY: ghcr.io
8
IMAGE_NAME: ${{ github.repository }}
9
+ TAG_NAME: ${{ env.REGISTRY }}/fys-help-bot:$(date +%s)
10
11
jobs:
12
build:
13
runs-on: ubuntu-latest
14
steps:
15
- uses: actions/checkout@v2
- - name: Build the Docker image
16
- run: docker build . --file Dockerfile --tag fys-help-bot:$(date +%s)
17
# push to githubs docker registry
18
- name: Log in to the Container registry
19
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
@@ -25,5 +24,5 @@ jobs:
25
24
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
26
with:
27
push: true
28
- tags: ${{ env.REGISTRY }}/fys-help-bot:${{ $(date +%s) }}
+ tags: ${{ env.TAG_NAME }}
29
file: ./Dockerfile
0 commit comments