name: build-containers on: workflow_dispatch: jobs: build-debian: runs-on: hardware steps: - name: Pull repository with dockerfiles run: | git init git remote add gitea http://10.1.1.1:3000/hasslesstech/test3 git fetch git checkout master - name: Pull latest official image run: docker pull debian - name: Build new image run: docker build . -f dockerfiles/debian -t 10.5.1.5:5000/prebuilt-images/debian - name: Push new image to local container registry run: docker push 10.5.1.5:5000/prebuilt-images/debian build-arch: runs-on: hardware steps: - name: Pull repository with dockerfiles run: | git init git remote add gitea http://10.1.1.1:3000/hasslesstech/test3 git fetch git checkout master - name: Pull latest official image run: docker pull archlinux - name: Build new image run: docker build . -f dockerfiles/arch -t 10.5.1.5:5000/prebuilt-images/arch - name: Push new image to local container registry run: docker push 10.5.1.5:5000/prebuilt-images/arch build-void: runs-on: hardware steps: - name: Pull repository with dockerfiles run: | git init git remote add gitea http://10.1.1.1:3000/hasslesstech/test3 git fetch git checkout master - name: Pull latest official image run: docker pull voidlinux/voidlinux - name: Build new image run: docker build . -f dockerfiles/void -t 10.5.1.5:5000/prebuilt-images/void - name: Push new image to local container registry run: docker push 10.5.1.5:5000/prebuilt-images/void build-alpine: runs-on: hardware steps: - name: Pull repository with dockerfiles run: | git init git remote add gitea http://10.1.1.1:3000/hasslesstech/test3 git fetch git checkout master - name: Pull latest official image run: docker pull alpine - name: Build new image run: docker build . -f dockerfiles/alpine -t 10.5.1.5:5000/prebuilt-images/alpine - name: Push new image to local container registry run: docker push 10.5.1.5:5000/prebuilt-images/alpine