mirror of
https://github.com/edv-pi/pbs-client-docker.git
synced 2025-04-16 19:42:55 +02:00
31 lines
937 B
YAML
31 lines
937 B
YAML
#
|
|
# .gitea/gitea-ci.yaml
|
|
#
|
|
|
|
name: Build And Test
|
|
run-name: ${{ gitea.actor }} is runs ci pipeline
|
|
on: [ push ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: https://github.com/actions/checkout@v4
|
|
- name: Set up Docker Buildx
|
|
uses: https://github.com/docker/setup-buildx-action@v3
|
|
with:
|
|
config-inline: |
|
|
[registry."images.physi.uni-heidelberg.de"]
|
|
- name: Docker meta
|
|
id: meta
|
|
uses: docker/metadata-action@v5
|
|
with:
|
|
images: images.physi.uni-heidelberg.de/pibackup
|
|
- name: Build and push Docker image
|
|
uses: https://github.com/docker/build-push-action@v6
|
|
with:
|
|
context: ./docker
|
|
push: true
|
|
#tags: "images.physi.uni-heidelberg.de/pibackup,images.physi.uni-heidelberg.de/pibackup:latest"
|
|
tags: ${{ steps.meta.outputs.tags }}
|
|
labels: ${{ steps.meta.outputs.labels }} |