added devops devcontainer and image
All checks were successful
/ build-docker-image (push) Successful in 1m48s
All checks were successful
/ build-docker-image (push) Successful in 1m48s
This commit is contained in:
32
.gitea/workflows/devops-image-deploy.yaml
Normal file
32
.gitea/workflows/devops-image-deploy.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
schedule:
|
||||
- cron: '@weekly' # once per week
|
||||
|
||||
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@v3
|
||||
with:
|
||||
registry: git.limbosolutions.com
|
||||
username: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_PASSWORD }}
|
||||
|
||||
- name: Build and push Docker images
|
||||
id: push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ${{gitea.workspace}}/devops
|
||||
file: ${{gitea.workspace}}/devops/Dockerfile
|
||||
push: true
|
||||
tags: git.limbosolutions.com/mylimbo/devcontainers/devops:latest
|
||||
Reference in New Issue
Block a user