swarmproxy/.gitea/workflows/docker.yaml
OCram85 3de1e0b0b7
All checks were successful
docker / build-container (push) Successful in 42s
test token based auth
2023-07-06 15:21:22 +02:00

39 lines
983 B
YAML

name: docker
run-name: ${{ gitea.actor }} testing docker builder
on:
push:
#branches: none #[ main ]
pull_request:
#branches: none # [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-container:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
#-
# name: Set up QEMU
# uses: actions/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: actions/setup-buildx-action@v2
-
name: Login to Gitea Package Registry
uses: actions/login-action@v2
with:
registry: gitea.ocram85.com
username: ${{ secrets.USERNAME }}
#password: ${{ secrets.PASSWORD }}
password: ${{ secrets.TOKEN }}
-
name: Build and push
uses: actions/build-push-action@v4
with:
push: true
tags: gitea.ocram85.com/ocram85/swarmproxy:next2