try again
This commit is contained in:
parent
de9aca741a
commit
2579d00255
@ -6,11 +6,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
- name: Split branch name
|
||||||
|
env:
|
||||||
|
REPO: ${{ gitea.repository }}
|
||||||
|
id: split
|
||||||
|
run: echo "::set-output name=repo_name::${REPO##*/}"
|
||||||
- name: Build image
|
- name: Build image
|
||||||
id: build-image
|
id: build-image
|
||||||
uses: redhat-actions/buildah-build@v2
|
uses: redhat-actions/buildah-build@v2
|
||||||
with:
|
with:
|
||||||
image: ${{ secrets.DOCKERHUB_USER }}/${{ gitea.repository }}
|
image: ${{ secrets.DOCKERHUB_USER }}/${{ steps.split.outputs.repo_name }}
|
||||||
tags: ${{ gitea.ref_name }} ${{ gitea.sha }}
|
tags: ${{ gitea.ref_name }} ${{ gitea.sha }}
|
||||||
archs: arm64, amd64
|
archs: arm64, amd64
|
||||||
containerfiles: |
|
containerfiles: |
|
||||||
|
Loading…
Reference in New Issue
Block a user