mirror of https://github.com/qTox/qTox.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
593 B
18 lines
593 B
name: 'Load docker image' |
|
inputs: |
|
docker_image_name: |
|
description: "Name of docker image" |
|
required: True |
|
runs: |
|
using: 'composite' |
|
steps: |
|
- uses: docker/setup-buildx-action@master |
|
- name: Setup buildx cache |
|
uses: actions/cache@v2 |
|
with: |
|
path: | |
|
/tmp/.buildx-cache |
|
key: ${{ runner.os }}-${{ inputs.docker_image_name }}-${{ github.sha }} |
|
- name: Load cached docker images |
|
shell: bash |
|
run: docker buildx bake --set *.cache-from=type=local,src=/tmp/.buildx-cache -f docker-compose.yml ${{ inputs.docker_image_name }} --load
|
|
|