Checkout isn’t working
See original GitHub issueBehaviour
As per the docs, it should automatically checkout the repo before building the docker image. I am building an image with a build context of a subfolder and the working directory is empty.
Steps to reproduce this issue
- Try to build an image with a context other than
.
- Build will fail citing missing directory
Expected behaviour
Repo should be cloned and build should succeed.
Actual behaviour
Repo is not cloned and build fails
Configuration
- Repository URL (if public): https://github.com/ThisIsQasim/Dockerfiles/blob/master/.github/workflows/elasticsearch.yml
- Build URL (if public): https://github.com/ThisIsQasim/Dockerfiles/actions/runs/251159433/workflow
name: Docker Image CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set current directory
run: |
pwd; ls; ls ..
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
env:
VERSION: '7.8.0'
ODFE_VERSION: '1.9.0.2'
REPO: thisisqasim
with:
context: elasticsearch
file: elasticsearch/Dockerfile
build-args: VERSION=${{ env.VERSION }},ODFE_VERSION=${{ env.ODFE_VERSION }}
platforms: linux/amd64,linux/arm64
pull: true
push: true
tags: ${{ env.REPO }}/elasticsearch:${{ env.VERSION }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Solved: Checkout isn't available! - Shopify Community
I have gone into settings and messed with enabling Shopify payments and it started working. I assume there we're some changes made to...
Read more >Troubleshooting checkout issues - Squarespace Help Center
Check for browser issues first · Ensure they're using the most up-to-date version of their browser. · Clear their cache, or test the...
Read more >What Is Checkout Failure on Shopify - DSers Help Center
Checkout failure in your store. If you or your customer cannot check out on Shopify online store, please go to Shopify - Settings...
Read more >How to Fix WooCommerce Checkout Page Not Working
1. Deactivate plugins and themes ... The most common reason for the checkout to cease working with WooCommerce is a conflicting theme or...
Read more >My checkout isn't working, what should I do? - ShopWired Help
Firstly you'll need to identify the exact problem, i.e. what part of the checkout isn't working? Problem: Customers can't add items to their...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah, interesting; I didn’t know it was not yet supported in BuildKit. I opened a tracking issue for that; https://github.com/moby/buildkit/issues/1684
I think it’s easier and cleaner to just clone in a separate step