23 lines
510 B
YAML
23 lines
510 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@v2
|
|
- name: Build and push Docker image
|
|
uses: actions/docker-build-push@v2
|
|
with:
|
|
context: .
|
|
file: Dockerfile
|
|
push: true
|
|
registry: https://coastalcommits.com
|
|
repository: seaswimmerthefsh/discordeventlog
|
|
tags: latest
|