diff --git a/.github/workflows/docker-test.yml b/.github/workflows/docker-test.yml index 18234469..de979fb0 100644 --- a/.github/workflows/docker-test.yml +++ b/.github/workflows/docker-test.yml @@ -27,16 +27,17 @@ jobs: # with: # username: ${{ secrets.DOCKERHUB_USERNAME }} # password: ${{ secrets.DOCKERHUB_TOKEN }} +# - uses: actions/checkout@v4 +# with: +# repository: 'opensearch-project/opensearch-build' +# ref: 'main' - uses: actions/checkout@v4 with: - repository: 'opensearch-project/opensearch-build' - ref: 'main' - - uses: actions/checkout@v4 - with: - path: 'docker/ci/opensearch-benchmarks' +# path: 'docker/ci/opensearch-benchmarks' - name: Docker Build - working-directory: 'docker/ci' +# working-directory: 'docker/ci' run: | docker buildx version - cp -a opensearch-benchmarks/* ./ - ls -l + docker buildx build --platform "linux/amd64,linux/arm64" --build-arg VERSION=`cat version.txt` --build-arg BUILD_DATE=`date -u +%Y-%m-%dT%H:%M:%SZ` --build-arg NOTES="test-docker-build" -t "opensearchstaging/opensearch-benchmark:`cat version.txt`" -f "docker/Dockerfile" . +# cp -a opensearch-benchmarks/* ./ +# ./build-image-multi-arch.sh