Use gitea registry.
This commit is contained in:
19
.drone.yml
19
.drone.yml
@@ -1,19 +0,0 @@
|
|||||||
kind: pipeline
|
|
||||||
name: default
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: build container
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
username:
|
|
||||||
from_secret: registry-username
|
|
||||||
password:
|
|
||||||
from_secret: registry-password
|
|
||||||
registry: https://cs-registry.ddnss.de
|
|
||||||
repo: cs-registry.ddnss.de/${DRONE_REPO_OWNER}/old_editors
|
|
||||||
dry_run: false
|
|
||||||
purge: true
|
|
||||||
insecure: false
|
|
||||||
tags:
|
|
||||||
- ${DRONE_TAG}
|
|
||||||
45
.gitea/workflows/release.yml
Normal file
45
.gitea/workflows/release.yml
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
name: Build editors image
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
# Use docker.io for Docker Hub if empty
|
||||||
|
USER: chris
|
||||||
|
PASS: q',\H(Od:G3).Xv<#!5P
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Build-and-release-image:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
container:
|
||||||
|
image: catthehacker/ubuntu:act-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
|
- name: Log into registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: https://cs-git.ddnss.de
|
||||||
|
username: ${{ env.USER }}
|
||||||
|
password: ${{ env.PASS }}
|
||||||
|
|
||||||
|
- name: Extract Docker metadata
|
||||||
|
id: meta
|
||||||
|
uses: docker/metadata-action@v5
|
||||||
|
with:
|
||||||
|
images: cs-git.ddnss.de/ri-st/old-editors
|
||||||
|
|
||||||
|
- name: Build and push Docker image
|
||||||
|
uses: docker/build-push-action@v4
|
||||||
|
env:
|
||||||
|
ACTIONS_RUNTIME_TOKEN: ''
|
||||||
|
with:
|
||||||
|
tags: cs-git.ddnss.de/ri-st/old-editors:latest
|
||||||
|
push: true
|
||||||
|
|
||||||
Reference in New Issue
Block a user