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

This commit is contained in:
Florian Walther
2026-05-01 19:19:17 +02:00
parent ee2c2231b1
commit 205f664ac0
+4 -4
View File
@@ -6,7 +6,7 @@ on:
jobs: jobs:
build-and-push: build-and-push:
runs-on: ubuntu-latest runs-on: docker
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@main uses: actions/checkout@main
@@ -16,13 +16,13 @@ jobs:
- name: Login to Gitea Container Registry - name: Login to Gitea Container Registry
run: | run: |
echo "${{ secrets.GITEA_TOKEN }}" | docker login -u "${{ github.actor }}" --password-stdin gitea.scu.si echo "$GITEA_TOKEN" | docker login -u "$GITEA_ACTOR" --password-stdin gitea.scu.si
- name: Build and push - name: Build and push
run: | run: |
docker buildx build \ docker buildx build \
--platform linux/amd64,linux/arm64 \ --platform linux/amd64,linux/arm64 \
--push \ --push \
-t gitea.scu.si/${{ github.repository }}/mdhost:latest \ -t gitea.scu.si/${GITEA_REPOSITORY}/mdhost:latest \
-t gitea.scu.si/${{ github.repository }}/mdhost:${{ github.ref_name }} \ -t gitea.scu.si/${GITEA_REPOSITORY}/mdhost:$GITEA_REF_NAME \
. .