1
0
mirror of https://github.com/MultiMote/niimblue synced 2026-01-19 19:37:11 +03:00

Build Docker image using Gitea Actions

This commit is contained in:
MultiMote
2025-05-14 12:24:58 +03:00
parent 4b2bf035f7
commit f146481ca6

View File

@@ -1,20 +1,13 @@
name: Publish a Docker image
name: Build and publish a Docker image
on:
# push:
# branches:
# - main
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
permissions:
contents: read
packages: write
attestations: write
id-token: write
jobs:
build-and-push-image:
runs-on: ubuntu-latest
@@ -28,8 +21,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ secrets.GH_PACKAGES_USERNAME }}
password: ${{ secrets.GH_PACKAGES_TOKEN }}
- name: Build and push Docker image
id: push