ActionsDockerContainers/.forgejo/workflows/build.yaml

55 lines
1.5 KiB
YAML
Raw Normal View History

name: Actions
2024-01-06 21:56:28 -05:00
on:
push:
branches:
2024-01-07 06:21:34 -05:00
- main
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
2024-01-06 21:56:28 -05:00
jobs:
2024-09-18 09:04:20 -04:00
build:
runs-on: docker
2024-02-05 18:35:43 -05:00
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:
2024-02-05 18:30:14 -05:00
registry: www.coastalcommits.com
username: cswimr
password: ${{ secrets.COASTALCOMMITSTOKEN }}
2024-10-10 15:23:57 -04:00
- name: Build and push uv image
uses: actions/docker-build-push@v6
with:
context: .
2024-10-10 15:23:57 -04:00
file: ./Dockerfile
push: true
2024-10-10 15:23:57 -04:00
target: uv
tags: www.coastalcommits.com/cswimr/actions:uv
- name: Build and push docs image
uses: actions/docker-build-push@v6
2024-01-06 21:56:28 -05:00
with:
context: .
2024-10-10 15:23:57 -04:00
file: ./Dockerfile
2024-01-06 21:56:28 -05:00
push: true
2024-10-10 15:23:57 -04:00
target: docs
tags: www.coastalcommits.com/cswimr/actions:docs
- name: Build and push Red full image
2024-10-10 15:23:57 -04:00
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
2024-10-10 15:23:57 -04:00
uses: actions/docker-build-push@v6
with:
context: .
file: ./Red/pylav/Dockerfile
push: true
tags: www.coastalcommits.com/cswimr/red:pylav