more workflow fixing
Docker Publish / build-and-push (push) Has been cancelled

This commit is contained in:
Florian Walther
2026-05-01 19:13:24 +02:00
parent 7c13b3900a
commit d305aa313a
+5 -6
View File
@@ -6,24 +6,23 @@ on:
jobs:
build-and-push:
runs-on: ubuntu-latest
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@main
- name: Set up Docker Buildx
run: |
docker buildx create --use
run: docker buildx create --use
- name: Login to Gitea Container Registry
run: |
echo "${{ secrets.GITEA_TOKEN }}" | docker login -u "${{ env.ACTOR }}" --password-stdin gitea.scu.si
echo "${{ secrets.GITEA_TOKEN }}" | docker login -u "${{ github.actor }}" --password-stdin gitea.scu.si
- name: Build and push
run: |
docker buildx build \
--platform linux/amd64,linux/arm64 \
--push \
-t gitea.scu.si/${{ env.REPOSITORY }}/mdhost:latest \
-t gitea.scu.si/${{ env.REPOSITORY }}/mdhost:${{ env.REF_NAME }} \
-t gitea.scu.si/${{ github.repository }}/mdhost:latest \
-t gitea.scu.si/${{ github.repository }}/mdhost:${{ github.ref_name }} \
.