Skip to content

Commit 576023e

Browse files
committed
update
1 parent cd7189b commit 576023e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,22 @@ jobs:
1616
actions: write
1717
contents: write
1818

19+
env:
20+
TAG: ${{ github.ref_name }}
21+
1922
steps:
2023
- uses: actions/checkout@v4
2124

2225
- name: "Build"
2326
run: |
24-
docker build -t bruttazz/apod-api:$tag .
27+
docker build -t bruttazz/apod-api:$TAG .
2528
working-directory: "."
2629

2730
- name: "Publish"
2831
id: publish
2932
run: |
3033
docker login -u bruttazz -p "${{ secrets.DOCKER_HUB_TOKEN }}"
31-
docker push bruttazz/apod-api:$tag
34+
docker push bruttazz/apod-api:$TAG
3235
working-directory: "."
3336

3437
- name: Create Release

0 commit comments

Comments
 (0)