We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6edd5d3 commit 33e2f42Copy full SHA for 33e2f42
.github/workflows/build-docker-image.yml
@@ -6,7 +6,6 @@ on:
6
env:
7
REGISTRY: ghcr.io
8
IMAGE_NAME: ${{ github.repository }}
9
- TAG_NAME: ghcr.io/fys-help-bot:$(date +%s)
10
11
jobs:
12
build:
@@ -20,9 +19,11 @@ jobs:
20
19
registry: ${{ env.REGISTRY }}
21
username: ${{ github.actor }}
22
password: ${{ secrets.GITHUB_TOKEN }}
+ - run: echo "NAME=${{ env.REGISTRY }}/fys-help-bot:$(date +%s)" >> $GITHUB_OUTPUT
23
+ id: tag
24
- name: Push the Docker image
25
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
26
with:
27
push: true
- tags: ${{ env.TAG_NAME }}
28
+ tags: ${{ steps.tag.outputs.NAME }}
29
file: ./Dockerfile
0 commit comments