test docker ci

This commit is contained in:
Vri 🌈 2023-05-04 15:40:55 +02:00
parent bc541dc0fa
commit e6fe3022de
Signed by: vrifox
GPG key ID: D40098E5B60B2197
7 changed files with 101 additions and 67 deletions

26
.github/workflows/docker-image.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: Container Image CI
on:
push:
branches: [ "rewrite-dockerfile" ]
pull_request:
branches: [ "rewrite-dockerfile" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Base Image
run: docker build . --file ./container/base/Dockerfile --tag codeforleipzig-srm-base:$(date +%s)
- name: Build the Deploy Image
run: docker build . --file ./container/deploy/Dockerfile --tag codeforleipzig-srm-deploy:$(date +%s)
- name: Build the Develop Image
run: docker build . --file ./container/develop/Dockerfile --tag codeforleipzig-srm-develop:$(date +%s)
- name: Build the Test Image
run: docker build . --file ./container/test/Dockerfile --tag codeforleipzig-srm-test:$(date +%s)