eBooru/.github/prepare-docker-image/action.yml
Earlopain 34ae02b300
[CI] Unbreak testing flow
The images removed/are in the process of removing compose v1.

This also pins to an actual version instead of always using latest. Seems like a smart thing to do.

https://github.com/actions/runner-images/issues/9557
2024-04-03 15:05:48 +02:00

20 lines
433 B
YAML

name: Load Docker Image
description: Load Docker Image
runs:
using: composite
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build
uses: docker/build-push-action@v4
with:
cache-from: type=gha
load: true
tags: e621
- name: Set docker run command
run: echo "DOCKER_RUN=docker compose run -e CI=true" >> "$GITHUB_ENV"
shell: bash