ActionsDockerContainers/.forgejo/workflows/build.yaml
cswimr ba9e2bdd18
All checks were successful
Actions / Build and Push Images (push) Successful in 37s
change image tags
2024-08-27 13:59:49 -04:00

66 lines
2 KiB
YAML

name: Actions
on:
push:
branches:
- main
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
Build and Push Images:
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 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