stadtratmonitor/.github/workflows/docker-image.yml
2023-05-04 15:40:55 +02:00

26 lines
782 B
YAML

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)