30 lines
701 B
YAML
30 lines
701 B
YAML
on:
|
|
push:
|
|
paths:
|
|
- "docker/**"
|
|
- ".gitea/**"
|
|
jobs:
|
|
|
|
build-docker-image:
|
|
runs-on: ubuntu:latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Log in to git.limbosolutions.com docker registry
|
|
uses: docker/login-action
|
|
with:
|
|
registry: git.limbosolutions.com
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
|
|
- name: Build and push Docker images
|
|
id: push
|
|
uses: docker/build-push-action
|
|
with:
|
|
context: ${{gitea.workspace}}/docker
|
|
push: true
|
|
tags: git.limbosolutions.com/kb/code-server:latest
|