2024-01-20 16:16:46 +01:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
docker:
|
|
|
|
runs-on: ubuntu-latest
|
2024-01-20 16:54:23 +01:00
|
|
|
container:
|
|
|
|
image: catthehacker/ubuntu:act-latest
|
2024-01-20 16:16:46 +01:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 4.1.1
|
|
|
|
|
|
|
|
- name: Login
|
|
|
|
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # 3.0.0
|
|
|
|
with:
|
|
|
|
registry: git.keine.cloud
|
|
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
2024-01-20 21:25:36 +01:00
|
|
|
|
2024-01-20 21:26:57 +01:00
|
|
|
- name: Build and push
|
|
|
|
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # 5.1.0
|
|
|
|
with:
|
|
|
|
push: true
|
2024-01-20 21:30:44 +01:00
|
|
|
tags: ${{ env.GITHUB_SERVER_URL }}/${{ env.GITHUB_REPOSITORY }}:latest
|