ActionsDockerContainers/.forgejo/workflows/build.yaml

74 lines
2.2 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-02-05 18:34:57 -05:00
- name: Build and push GalacticFactory image
uses: actions/docker-build-push@v5
with:
context: .
file: ./GalacticFactory/Dockerfile
push: true
2024-02-05 18:30:14 -05:00
tags: www.coastalcommits.com/galacticfactory/documentation:latest
2024-02-05 18:34:57 -05:00
- name: Build and push GalaxyCogs image
2024-01-06 21:56:28 -05:00
uses: actions/docker-build-push@v5
with:
context: .
file: ./GalaxyCogs/Dockerfile
2024-01-06 21:56:28 -05:00
push: true
2024-08-27 13:59:49 -04:00
tags: www.coastalcommits.com/cswimr/actions:galaxycogs
2024-02-05 18:34:57 -05:00
- name: Build and push PyZipline image
2024-01-15 05:20:39 -05:00
uses: actions/docker-build-push@v5
with:
context: .
file: ./PyZipline/Dockerfile
push: true
2024-08-27 13:59:49 -04:00
tags: www.coastalcommits.com/cswimr/actions:pyzipline
2024-09-18 09:04:20 -04:00
- name: BUild and push PyFlowery image
uses: actions/docker-build-push@v5
with:
context: .
file: ./PyFlowery/Dockerfile
push: true
tags: www.coastalcommits.com/cswimr/actions:pyflowery
2024-02-05 18:34:57 -05:00
- name: Build and push SeaCogs image
2024-01-27 09:11:40 -05:00
uses: actions/docker-build-push@v5
with:
context: .
file: ./SeaCogs/Dockerfile
2024-01-27 09:11:40 -05:00
push: true
2024-08-27 13:59:49 -04:00
tags: www.coastalcommits.com/cswimr/actions:seacogs
- name: Build and push Red full image
uses: actions/docker-build-push@v5
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@v5
with:
context: .
file: ./Red/pylav/Dockerfile
push: true
tags: www.coastalcommits.com/cswimr/red:pylav