Skip to content

img stuff

img stuff #140

Workflow file for this run

---
name: img
on:
push:
paths: [src/**, img.nu, flake.nix, .github/workflows/img.yml]
branches: [master]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
img:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
with:
tags: builder
target: img
push: false
load: true
- uses: addnab/docker-run-action@v3
with:
image: builder
- uses: shrink/actions-docker-extract@v3
with:
image: builder
path: /app/img
destination: .
- uses: shrink/actions-docker-extract@v3
with:
image: builder
path: /app/txt
destination: .
- name: push
uses: stefanzweifel/git-auto-commit-action@v5
with:
file_pattern: img txt