ActionsDockerContainers/.forgejo/workflows/build.yaml
cswimr 38a8709a09
Some checks failed
Actions / build (push) Failing after 30s
Update .forgejo/workflows/build.yaml
2024-12-22 12:27:02 -05:00

65 lines
1.8 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
pull: true
target: uv
tags: www.coastalcommits.com/cswimr/actions:uv
- name: Build and push yarn image
uses: actions/docker-build-push@v6
with:
context: .
file: ./Dockerfile
push: true
pull: true
target: yarn
tags: www.coastalcommits.com/cswimr/actions:yarn
- name: Build and push docs image
uses: actions/docker-build-push@v6
with:
context: .
file: ./Dockerfile
push: true
pull: 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