This repository has been archived on 2025-02-19. You can view files and clone it, but cannot push or open issues or pull requests.
casino/.gitea/workflows/bun-image.yml

38 lines
884 B
YAML

name: Build Docker Image
on:
push:
branches:
- main
paths:
- package.json
- bun.lockb
pull_request:
branches:
- main
paths:
- package.json
- bun.lockb
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .gitea/bunPipeline
file: .gitea/bunPipeline/Dockerfile
push: true
tags: git.simonis.lol/projects/bun-casino:latest # Change this to your repo
cache-from: type=registry,ref=git.simonis.lol/projects/bun-casino:latest
cache-to: type=inline