parent
4f0e410244
commit
ccf5aaf44b
1 changed files with 4 additions and 4 deletions
|
@ -14,18 +14,18 @@ jobs:
|
||||||
- name: Extract the tag
|
- name: Extract the tag
|
||||||
id: extract_tag
|
id: extract_tag
|
||||||
run: echo "::set-output name=tag::$(echo ${{ forge.sha }} | cut -c1-10)"
|
run: echo "::set-output name=tag::$(echo ${{ forge.sha }} | cut -c1-10)"
|
||||||
- name: Install Buildah
|
- name: Install Buildah and Podman
|
||||||
run: apt-get update && apt-get install -y buildah
|
run: apt-get update && apt-get install -y buildah podman
|
||||||
- name: Buildah Build
|
- name: Buildah Build
|
||||||
id: build-image
|
id: build-image
|
||||||
uses: redhat-actions/buildah-build@v2
|
uses: redhat-actions/buildah-build@v2
|
||||||
with:
|
with:
|
||||||
image: git.poire.dev/aramperes/poire.dev
|
image: aramperes/poire.dev
|
||||||
tags: ${{ steps.extract_tag.outputs.tag }}
|
tags: ${{ steps.extract_tag.outputs.tag }}
|
||||||
context: ./website
|
context: ./website
|
||||||
containerfiles: ./website/docker/Dockerfile
|
containerfiles: ./website/docker/Dockerfile
|
||||||
- name: Push to Registry
|
- name: Push to Registry
|
||||||
uses: redhat-actions/push-to-registry@v2
|
uses: https://github.com/redhat-actions/push-to-registry@v2
|
||||||
with:
|
with:
|
||||||
image: ${{ steps.build-image.outputs.image }}
|
image: ${{ steps.build-image.outputs.image }}
|
||||||
tags: ${{ steps.build-image.outputs.tags }}
|
tags: ${{ steps.build-image.outputs.tags }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue