Skip to content

Commit

Permalink
consistent tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
rickymoorhouse authored Jun 26, 2022
1 parent 41832f3 commit 244e796
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,12 @@ jobs:
- name: Clone the repository
uses: actions/checkout@v2

- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}

- name: Buildah Action
id: build-image
uses: redhat-actions/buildah-build@v2
with:
image: ${{ env.IMAGE_NAME }}
tags: latest ${{ env.VERSION }}
tags: latest ${{ github.ref_name }}
containerfiles: |
./Containerfile
Expand Down

0 comments on commit 244e796

Please sign in to comment.