docker-devops-helper/.gitea/workflows/dev.yaml

23 lines
573 B
YAML
Raw Normal View History

2023-07-23 19:14:51 +02:00
on:
push:
branches-ignore:
- main
jobs:
build:
2023-07-23 19:22:55 +02:00
runs-on: k3s
2023-07-23 19:29:30 +02:00
container:
image: docker:24-cli
2023-07-23 19:14:51 +02:00
steps:
2023-07-23 19:29:30 +02:00
# - uses: actions/checkout@v3
2023-07-23 19:20:44 +02:00
- name: docker login
2023-07-23 19:28:40 +02:00
uses: docker/login-action@v2
with:
registry: "gitea.sikorski.cloud"
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: gitea.sikorski.cloud/rogersik/docker-admin-helper:development