This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "docker/**"
|
||||
- ".gitea/workflows/**code-server**.yml"
|
||||
jobs:
|
||||
|
||||
build-docker-image:
|
||||
runs-on: ubuntu:latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
30
.gitea/workflows/docker-image.deploy.yml
Normal file
30
.gitea/workflows/docker-image.deploy.yml
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user