23 lines
485 B
YAML
23 lines
485 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@v1
|
|
|
|
- name: Deploy
|
|
run: |
|
|
docker build -t kdeppe/dotfiles:latest .
|
|
docker push kdeppe/dotfiles
|