ActionsDockerContainers/.forgejo/workflows/build.yaml
SeaswimmerTheFsh 079f036bbb
Some checks failed
Docker Build / Build (push) Failing after 1m35s
fix(workflow): main not master
2024-01-07 06:21:34 -05:00

28 lines
774 B
YAML

name: Docker Build
on:
push:
branches:
- main
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