git action deploy docker image
Some checks failed
/ build-docker-image (push) Has been cancelled

This commit is contained in:
2024-09-01 21:44:29 +01:00
parent 7ae82d19f3
commit 94dbfbe2e7
3 changed files with 30 additions and 14 deletions

View File

@@ -0,0 +1,30 @@
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