swarmproxy/.gitea/workflows/docker.yaml

36 lines
853 B
YAML
Raw Normal View History

name: docker
run-name: ${{ gitea.actor }} testing docker builder
on:
push:
2023-07-06 09:35:03 +02:00
#branches: none #[ main ]
pull_request:
2023-07-06 09:35:03 +02:00
#branches: none # [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-container:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
2023-07-06 09:43:39 +02:00
uses: setup-qemu-action@v2
-
name: Set up Docker Buildx
2023-07-06 09:43:39 +02:00
uses: setup-buildx-action@v2
-
name: Login to Gitea Package Registry
2023-07-06 09:43:39 +02:00
uses: login-action@v2
with:
registry: gitea.ocram85.com
2023-07-06 09:35:03 +02:00
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
-
name: Build and push
2023-07-06 09:43:39 +02:00
uses: build-push-action@v4
with:
push: false #true
tags: gitea.ocram85.com/ocram85/swarmproxy:next