teutat3s
7705b7c63a
All checks were successful
Build docker image / build-image (push) Successful in 1m52s
26 lines
743 B
YAML
26 lines
743 B
YAML
name: Build docker image
|
|
on: [push]
|
|
|
|
jobs:
|
|
build-image:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: catthehacker/ubuntu:act-latest
|
|
steps:
|
|
- name: Login to docker.io registry
|
|
uses: docker/login-action@v3.3.0
|
|
with:
|
|
username: hakkonaut
|
|
password: ${{ secrets.DOCKER_PERSONAL_ACCESS_TOKEN }}
|
|
- name: Login to Forgejo docker registry
|
|
uses: docker/login-action@v3.3.0
|
|
with:
|
|
registry: git.pub.solar
|
|
username: hakkonaut
|
|
password: ${{ secrets.GIT_AUTH_TOKEN }}
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v6.9.0
|
|
with:
|
|
push: true
|
|
tags: git.pub.solar/pub-solar/actions-base-image:20-bookworm
|