runner-docker/.forgejo/workflows/package.yml
ItzYanick ca3f8d04db
Some checks failed
docker
Remove Qemu
2023-03-24 13:09:27 +01:00

31 lines
837 B
YAML

name: package
on:
push:
tags:
- "v*.*.*"
jobs:
docker:
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v2
- name: Login to Docker Registry
uses: https://github.com/docker/login-action@v2
with:
registry: git.itzyanick.de
username: ItzYanick
password: ${{ secrets.PACKAGE_TOKEN }}
- name: Build and push
uses: https://github.com/docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
push: true
tags: git.itzyanick.de/ItzYanick/runner-docker:latest
build-args: |
CHECKOUT=${{ github.ref }}