edmondop commented on code in PR #851:
URL: https://github.com/apache/datafusion-comet/pull/851#discussion_r1722495906
##########
.github/workflows/docker-publish.yml:
##########
@@ -28,36 +28,37 @@ on:
- '*.*.*-rc*'
- 'test-docker-publish-*'
-docker:
- name: Docker
- runs-on: ubuntu-22.04
- permissions:
- contents: read
- packages: write
- steps:
- - name: Set up Java
- uses: actions/setup-java@v3
- with:
- java-version: '17'
- - name: Extract Comet version
- id: extract_version
- run: |
- COMET_VERSION=$(mvn help:evaluate -Dexpression=project.version -q
-DforceStdout)
- echo "COMET_VERSION=$COMET_VERSION" >> $GITHUB_ENV
- - name: Echo Comet version
- run: echo "The current Comet version is ${{ env.COMET_VERSION }}"
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v3
- - name: Login to GitHub Container Registry
- uses: docker/login-action@v3
- with:
- registry: ghcr.io
- username: ${{ github.actor }}
- password: ${{ secrets.GITHUB_TOKEN }}
- - name: Build and push
- uses: docker/build-push-action@v6
- with:
- platforms: linux/amd64,linux/arm64
- push: true
- tags: apache/datafusion-comet:spark-3.4-scala-2.12-${{
env.COMET_VERSION }}
- file: kube/Dockerfile
+jobs:
Review Comment:
I have run the pipeline locally using act like so:
```sh
act -e event.json push
```
with the following event.json
```javascript
{
"ref": "refs/tags/test-docker-publish-foo"
}
```
and it fail with the following error:
```
R Build/ubuntu-latest/java 11-spark-3.4-scala-2.13/java-11
] 🚀 Start image=amd64/rust
[PR Build/ubuntu-latest/java 17-spark-3.4-scala-2.13/java-12
] 🚀 Start image=amd64/rust
[PR Build/ubuntu-latest/java 11-spark-3.4-scala-2.13/java-11
] 🐳 docker pull image=amd64/rust platform= username=
forcePull=true
[PR Build/ubuntu-latest/java 17-spark-3.4-scala-2.13/java-12
] 🐳 docker pull image=amd64/rust platform= username=
forcePull=true
[PR Build/ubuntu-latest/java 8-spark-3.4-scala-2.12/java-7
] 🐳 docker create image=amd64/rust platform=
entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[PR Build/ubuntu-latest/java 11-spark-3.4-scala-2.13/java-11
] 🐳 docker create image=amd64/rust platform=
entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[PR Build/ubuntu-latest/java 17-spark-3.4-scala-2.13/java-12
] 🐳 docker create image=amd64/rust platform=
entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[Run Miri Safety Checks/Miri
] 🐳 docker create image=catthehacker/ubuntu:full-latest
platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[Deploy DataFusion Comet site/Build docs
] 🐳 docker create image=catthehacker/ubuntu:full-latest
platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[Publish Docker images/Docker
] 🐳 docker create image=catthehacker/ubuntu:full-22.04
platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
Error: failed to create container: 'Error response from daemon: No such
image: amd64/rust:latest'
```
it could be a problem with act or a legitimate missing variable
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]