Files
conda-cache/.gitea/workflows/build.yaml
T
ebnerandgitadmin e004ab14ea
Build and Publish Docker Image / docker (push) Successful in 22s
Update .gitea/workflows/build.yaml
2026-05-20 14:42:39 +02:00

34 lines
854 B
YAML

name: Build and Publish Docker Image
on:
push:
branches:
- main
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest-intranet
steps:
- name: Clone external repo
run: |
git clone https://github.com/simongregorebner/conda-cache.git .
# - name: Checkout
# uses: actions/checkout@v4
# with:
# repository: "https://github.com/simongregorebner/conda-cache.git"
- name: Login to Docker Registry
uses: docker/login-action@v3
with:
registry: gitea.psi.ch
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: gitea.psi.ch/${{ github.repository }}:latest