ci: fix
All checks were successful
Release to Gitea Container Registry / build_and_push (push) Successful in 1m15s

This commit is contained in:
Stixx 2024-11-04 16:13:37 +01:00
parent faa52f6013
commit 288e57468c

View File

@ -2,25 +2,25 @@ name: Release to Gitea Container Registry
on: on:
push: push:
branches: branches:
- main - master
jobs: jobs:
build_and_release: build_and_push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out repository - name: Check out repository
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Log in to local registry - name: Log in to local registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: my.gitea.com registry: git.nostrdev.com
username: ${{ gitea.repository_owner }} username: ${{ gitea.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }} # gitea.token doesn't work for push, provide a personal access token password: ${{ secrets.REGISTRY_TOKEN }} # gitea.token doesn't work for push, provide a personal access token
- name: Build Docker image - name: Build Docker image
run: docker build -t git.nostrdev.com/stuff/blossom-cloudron . run: docker build -t git.nostrdev.com/stuff/blossom-cloudron .
- name: Push Docker image - name: Push Docker image
run: docker push git.nostrdev.com/stuff/blossom-cloudron run: docker push git.nostrdev.com/stuff/blossom-cloudron