Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon committed Jul 29, 2024
1 parent 621434b commit 021b878
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/docker-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 021b878

Please sign in to comment.