73 lines
2.2 KiB
YAML
73 lines
2.2 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 GalacticFactory image
|
|
uses: actions/docker-build-push@v5
|
|
with:
|
|
context: .
|
|
file: ./GalacticFactory/Dockerfile
|
|
push: true
|
|
tags: www.coastalcommits.com/galacticfactory/documentation:latest
|
|
- name: Build and push GalaxyCogs image
|
|
uses: actions/docker-build-push@v5
|
|
with:
|
|
context: .
|
|
file: ./GalaxyCogs/Dockerfile
|
|
push: true
|
|
tags: www.coastalcommits.com/cswimr/actions:galaxycogs
|
|
- name: Build and push PyZipline image
|
|
uses: actions/docker-build-push@v5
|
|
with:
|
|
context: .
|
|
file: ./PyZipline/Dockerfile
|
|
push: true
|
|
tags: www.coastalcommits.com/cswimr/actions:pyzipline
|
|
- 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
|
|
- name: Build and push SeaCogs image
|
|
uses: actions/docker-build-push@v5
|
|
with:
|
|
context: .
|
|
file: ./SeaCogs/Dockerfile
|
|
push: true
|
|
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
|