Skip to content

Commit 244e796

Browse files
consistent tagging
1 parent 41832f3 commit 244e796

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,12 @@ jobs:
2727
- name: Clone the repository
2828
uses: actions/checkout@v2
2929

30-
- name: Get the version
31-
id: get_version
32-
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
33-
3430
- name: Buildah Action
3531
id: build-image
3632
uses: redhat-actions/buildah-build@v2
3733
with:
3834
image: ${{ env.IMAGE_NAME }}
39-
tags: latest ${{ env.VERSION }}
35+
tags: latest ${{ github.ref_name }}
4036
containerfiles: |
4137
./Containerfile
4238

0 commit comments

Comments
 (0)