Files
devcontainers/.gitea/workflows/devops-image-deploy.yaml
Márcio Fernandes 22a2021b9a
All checks were successful
/ build-docker-image (push) Successful in 9s
modified: .gitea/workflows/devops-image-deploy.yaml
modified:   devops/Dockerfile
2025-11-19 22:49:38 +00:00

37 lines
1.0 KiB
YAML

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: Set build timestamp
run: echo "BUILD_TIMESTAMP=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV
- 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
labels: |
dev.containers.timestamp=${{ env.BUILD_TIMESTAMP }}
tags: git.limbosolutions.com/mylimbo/devcontainers/devops:latest