74165ff48c
Test stage / check and test (push) Successful in 6s
Signed-off-by: Uwe Hermann <uh@uleenucks.de>
27 lines
611 B
YAML
27 lines
611 B
YAML
---
|
|
name: Build and push
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_run:
|
|
workflows: ["Test stage"]
|
|
branches: [main]
|
|
types:
|
|
- completed
|
|
|
|
jobs:
|
|
buildpush:
|
|
name: build_and_push
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Login to docker
|
|
run: mkdir -p $HOME/.docker && cp config.json $HOME/.docker/config.json
|
|
- name: Install docker
|
|
run: curl -fsSL https://get.docker.com | sh
|
|
- name: Install parallel
|
|
run: apt install parallel -y
|
|
- name: Build docker container
|
|
run: ./build-all.sh && exit 0
|