Added Bun Image (#179)

* Add bun images

---------

Co-authored-by: Quinten <67589015+QuintenQVD0@users.noreply.github.com>
This commit is contained in:
mratox
2023-08-27 12:08:02 +01:00
committed by GitHub
parent c425ab0ab4
commit cafdcdc0f5
5 changed files with 97 additions and 0 deletions

39
.github/workflows/bun.yml vendored Normal file
View File

@@ -0,0 +1,39 @@
name: build bun
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 1"
push:
branches:
- master
paths:
- bun/**
jobs:
push:
name: "yolks:bun_${{ matrix.tag }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag:
- latest
- canary
steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
with:
buildkitd-flags: --debug
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v4
with:
context: ./bun
file: ./bun/${{ matrix.tag }}/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/parkervcp/yolks:bun_${{ matrix.tag }}