trigger ci/cd
This commit is contained in:
parent
23d4040b6b
commit
e7ceb01436
|
@ -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
|
Loading…
Reference in New Issue