Skip to content

Is it possible to build without pushing? #1163

Answered by crazy-max
GersonTrj asked this question in Q&A
Discussion options

You must be logged in to vote

You can use the cacheonly exporter: https://docs.docker.com/build/exporters/#cache-only-export

      -
        name: Build and push
        uses: docker/build-push-action@v6
        with:
          outputs: type=cacheonly
          tags: user/app:latest

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@GersonTrj
Comment options

@crazy-max
Comment options

Answer selected by GersonTrj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants