dotfiles/.gitea/workflows/docker.yaml
2023-06-23 11:34:18 -04:00

23 lines
525 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on:
push:
branches:
- docker
jobs:
push_to_registry:
name: Push docker image to container registry
runs-on: ubuntu-latest
defaults:
run:
working-directory: /repo
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Deploy
run: |
docker build -t git.keegandeppe.com/kdeppe/dotfiles:latest .
docker push git.keegandeppe.com/kdeppe/dotfiles