29 lines
737 B
YAML
29 lines
737 B
YAML
|
|
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.REGISTRYTOKEN }}
|
|
- name: Login to CoastalCommits
|
|
uses: actions/docker-login@v3
|
|
with:
|
|
registry: coastalcommits.com
|
|
username: SeaswimmerTheFsh
|
|
password: ${{ secrets.REGISTRYTOKEN }}
|
|
- name: Build and push Docker image
|
|
uses: actions/docker-build-push@v5
|
|
with:
|
|
context: .
|
|
file: Dockerfile
|
|
push: true
|
|
tags: coastalcommits.com/seaswimmerthefsh/discordeventlog:latest
|