feat: add base_ubuntu and base_debian images

Base images that self-hosted with other images importing these to build the image
This commit is contained in:
Softwarenoob
2021-08-06 22:18:34 +03:00
parent 4650340592
commit eb515743e7
4 changed files with 74 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
name: build oses
name: build base
on:
schedule:
- cron: "0 0 * * 1"
@@ -6,17 +6,17 @@ on:
branches:
- master
paths:
- oses/**
- base/**
jobs:
push:
name: "yolks:${{ matrix.oses }}"
name: "yolks:base_${{ matrix.tag }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
oses:
- alpine
tag:
- debian
- ubuntu
steps:
- uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v1
@@ -30,9 +30,9 @@ jobs:
password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v2
with:
context: ./oses/${{ matrix.oses }}
file: ./oses/${{ matrix.oses }}/Dockerfile
context: ./base/${{ matrix.tag }}
file: ./base/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64
push: true
tags: |
ghcr.io/parkervcp/yolks:${{ matrix.oses }}
ghcr.io/parkervcp/yolks:base_${{ matrix.tag }}