Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Commit 65f5861

Browse files
authored
Merge pull request #30 from cjellick/main
Fix tag ref
2 parents 6ed5be1 + c45a2c0 commit 65f5861

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/release.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
registry: ghcr.io
1919
username: foobar
2020
password: ${{ secrets.GITHUB_TOKEN }}
21-
- run: |
22-
acorn build -t ghcr.io/acorn-io/acorn-dns:$GITHUB_REF .
23-
acorn push ghcr.io/acorn-io/acorn-dns:$GITHUB_REF
21+
- name: Set tag
22+
run: echo "TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
23+
- name: Build and push acorn
24+
run: |
25+
acorn build -t ghcr.io/acorn-io/acorn-dns:$TAG .
26+
acorn push ghcr.io/acorn-io/acorn-dns:$TAG

0 commit comments

Comments
 (0)