Skip to content

Commit

Permalink
Reinstate versioned images
Browse files Browse the repository at this point in the history
  • Loading branch information
rickymoorhouse authored Jun 19, 2022
1 parent 14514ab commit e41f8fd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,17 @@ jobs:
steps:
- 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
tags: latest ${{ env.VERSION }}
containerfiles: |
./Containerfile
Expand Down

0 comments on commit e41f8fd

Please sign in to comment.