ActionsDockerContainers/.forgejo/workflows/build.yaml
cswimr 64d2ae1220
All checks were successful
Actions / build (push) Successful in 1m22s
move to uv
2024-10-10 15:23:57 -04:00

54 lines
1.5 KiB
YAML

name: Actions
on:
push:
branches:
- main
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: docker
container: catthehacker/ubuntu:act-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
token: ${{ secrets.COASTALCOMMITSTOKEN }}
- name: Login to CoastalCommits
uses: actions/docker-login@v3
with:
registry: www.coastalcommits.com
username: cswimr
password: ${{ secrets.COASTALCOMMITSTOKEN }}
- name: Build and push uv image
uses: actions/docker-build-push@v6
with:
context: .
file: ./Dockerfile
push: true
target: uv
tags: www.coastalcommits.com/cswimr/actions:uv
- name: Build and push docs image
uses: actions/docker-build-push@v6
with:
context: .
file: ./Dockerfile
push: true
target: docs
tags: www.coastalcommits.com/cswimr/actions:docs
- name: Build and push Red full image
uses: actions/docker-build-push@v6
with:
context: .
file: ./Red/full/Dockerfile
push: true
tags: www.coastalcommits.com/cswimr/red:full
- name: Build and push Red pylav image
uses: actions/docker-build-push@v6
with:
context: .
file: ./Red/pylav/Dockerfile
push: true
tags: www.coastalcommits.com/cswimr/red:pylav