Skip to content

build ubuntu

build ubuntu #6

Workflow file for this run

name: build ubuntu
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
push:
branches:
- master
paths:
- ubuntu/**
jobs:
push:
name: "yolks:ubuntu_${{ matrix.tag }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag:
- '20.04'
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
with:
version: "v0.5.1"
buildkitd-flags: --debug
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUBTOKEN }}
- uses: docker/build-push-action@v2
with:
context: ./ubuntu-${{ matrix.tag }}
file: ./ubuntu-${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/mg8853/yolks:ubuntu_${{ matrix.tag }}