mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
851 B
851 B
title, linkTitle, description, keywords
| title | linkTitle | description | keywords |
|---|---|---|---|
| Export to Docker with GitHub Actions | Export to Docker | Load the build results to the image store with GitHub Actions | ci, github actions, gha, buildkit, buildx, docker, export, load |
You may want your build result to be available in the Docker client through
docker images to be able to use it in another step of your workflow:
name: ci
on:
push:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@{{% param "setup_buildx_action_version" %}}
- name: Build
uses: docker/build-push-action@{{% param "build_push_action_version" %}}
with:
load: true
tags: myimage:latest
- name: Inspect
run: |
docker image inspect myimage:latest