2024-08-27 13:54:14 -04:00
|
|
|
name: Actions
|
2024-01-06 21:56:28 -05:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2024-01-07 06:21:34 -05:00
|
|
|
- main
|
2024-02-14 13:23:35 -05:00
|
|
|
workflow_dispatch:
|
2024-08-27 13:54:14 -04:00
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * *'
|
2024-01-06 21:56:28 -05:00
|
|
|
|
|
|
|
jobs:
|
2024-02-05 18:34:57 -05:00
|
|
|
Build and Push Images:
|
2024-02-05 18:27:57 -05:00
|
|
|
runs-on: docker
|
2024-02-05 18:35:43 -05:00
|
|
|
container: catthehacker/ubuntu:act-latest
|
2024-02-05 18:27:57 -05:00
|
|
|
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
|
2024-08-27 13:54:14 -04:00
|
|
|
username: cswimr
|
2024-02-05 18:27:57 -05:00
|
|
|
password: ${{ secrets.COASTALCOMMITSTOKEN }}
|
2024-02-05 18:34:57 -05:00
|
|
|
- name: Build and push GalacticFactory image
|
2024-02-05 18:27:57 -05:00
|
|
|
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: .
|
2024-01-29 15:18:01 -05:00
|
|
|
file: ./GalaxyCogs/Dockerfile
|
2024-01-06 21:56:28 -05:00
|
|
|
push: true
|
2024-08-27 13:54:14 -04:00
|
|
|
tags: www.coastalcommits.com/cswimr/actionscontainers-galaxycogs:latest
|
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:54:14 -04:00
|
|
|
tags: www.coastalcommits.com/cswimr/actionscontainers-pyzipline:latest
|
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: .
|
2024-01-29 15:18:01 -05:00
|
|
|
file: ./SeaCogs/Dockerfile
|
2024-01-27 09:11:40 -05:00
|
|
|
push: true
|
2024-08-27 13:54:14 -04:00
|
|
|
tags: www.coastalcommits.com/cswimr/actionscontainers-seacogs:latest
|
|
|
|
- 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
|