try again

This commit is contained in:
Sebastian Hugentobler 2023-12-13 01:24:26 +01:00
parent de9aca741a
commit 2579d00255
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -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: |