73 lines
2.2 KiB
YAML
73 lines
2.2 KiB
YAML
name: Docker Build
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
manual:
|
|
|
|
jobs:
|
|
Build GalaxyCogs:
|
|
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: coastalcommits.com
|
|
username: SeaswimmerTheFsh
|
|
password: ${{ secrets.COASTALCOMMITSTOKEN }}
|
|
- name: Build and push Docker image
|
|
uses: actions/docker-build-push@v5
|
|
with:
|
|
context: .
|
|
file: ./GalaxyCogs/Dockerfile
|
|
push: true
|
|
tags: coastalcommits.com/seaswimmerthefsh/actionscontainers-galaxycogs:latest
|
|
|
|
Build PyZipline:
|
|
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: coastalcommits.com
|
|
username: SeaswimmerTheFsh
|
|
password: ${{ secrets.COASTALCOMMITSTOKEN }}
|
|
- name: Build and push Docker image
|
|
uses: actions/docker-build-push@v5
|
|
with:
|
|
context: .
|
|
file: ./PyZipline/Dockerfile
|
|
push: true
|
|
tags: coastalcommits.com/seaswimmerthefsh/actionscontainers-pyzipline:latest
|
|
|
|
Build SeaCogs:
|
|
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: coastalcommits.com
|
|
username: SeaswimmerTheFsh
|
|
password: ${{ secrets.COASTALCOMMITSTOKEN }}
|
|
- name: Build and push Docker image
|
|
uses: actions/docker-build-push@v5
|
|
with:
|
|
context: .
|
|
file: ./SeaCogs/Dockerfile
|
|
push: true
|
|
tags: coastalcommits.com/seaswimmerthefsh/actionscontainers-seacogs:latest
|