forked from e621ng/e621ng

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
20 lines
433 B
YAML
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
|