2023-11-16 18:55:26 +00:00
|
|
|
name: Build docker image
|
|
|
|
on: [push]
|
|
|
|
|
2023-11-16 18:52:19 +00:00
|
|
|
jobs:
|
|
|
|
build-image:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
|
|
image: catthehacker/ubuntu:act-latest
|
|
|
|
steps:
|
2023-11-16 18:54:36 +00:00
|
|
|
# test step
|
2023-11-18 19:08:52 +00:00
|
|
|
- name: Login to Forgejo docker registry
|
|
|
|
uses: docker/login-action@v3.0.0
|
|
|
|
with:
|
|
|
|
registry: git.pub.solar
|
|
|
|
username: hakkonaut
|
|
|
|
password: ${{ secrets.GIT_AUTH_TOKEN }}
|
2023-11-16 18:52:19 +00:00
|
|
|
- name: Build and push
|
2023-11-18 19:08:52 +00:00
|
|
|
uses: docker/build-push-action@v5.1.0
|
2023-11-16 18:52:19 +00:00
|
|
|
with:
|
|
|
|
push: true
|
|
|
|
tags: git.pub.solar/pub-solar/mediawiki-oidc-docker:1.40.1
|