trigger ci/cd
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m40s Details
Build and Push Docker image / build-and-push (push) Failing after 48s Details

This commit is contained in:
Valentin Kolb 2024-03-14 20:55:05 +01:00
parent 23d4040b6b
commit e7ceb01436
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
name: Build and Push Docker image
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Log in to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: git.stuve.uni-ulm.de
username: ${{ user_name }}
password: ${{ user_password }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: git.stuve.uni-ulm.de/StuVe-IT/wiki-js-customization:latest