ActionsDockerContainers/.forgejo/workflows/build.yaml

29 lines
776 B
YAML
Raw Normal View History

2024-01-06 21:56:28 -05:00
name: Docker Build
on:
push:
branches:
- master
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: coastalcommits.com
username: SeaswimmerTheFsh
password: ${{ secrets.COASTALCOMMITSTOKEN }}
- name: Build and push SeaCogs Docker image
uses: actions/docker-build-push@v5
with:
context: .
file: ./SeaCogs/Dockerfile
push: true
tags: coastalcommits.com/seaswimmerthefsh/actionscontainers-seacogs:latest