Compare commits

...

2 Commits

Author SHA1 Message Date
TheAssassin bc1a87c5c0 fixup! Fix image tag
Build and publish Docker image / build (push) Failing after 11s Details
2024-04-21 22:44:31 +02:00
TheAssassin f8fbdf02bf Fix image tag 2024-04-21 18:49:26 +02:00
1 changed files with 5 additions and 8 deletions

View File

@ -3,17 +3,12 @@ on: [push]
env: env:
REGISTRY: git.newpipe-ev.de REGISTRY: git.newpipe-ev.de
IMAGE_NAME: ${{ gitea.repository }} IMAGE_NAME: ${{ gitea.repository }}:latest
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -21,8 +16,8 @@ jobs:
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ env.REGISTRY }} registry: ${{ env.REGISTRY }}
username: ${{ gitea.actor }} username: ${{ gitea.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITEA_TOKEN }}
- name: Extract metadata (tags, labels) for Docker - name: Extract metadata (tags, labels) for Docker
id: meta id: meta
@ -37,3 +32,5 @@ jobs:
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
platforms: |
linux/amd64