Skip to content

Commit

Permalink
Merge pull request #43 from 3dcitydb/fix/docker-unknown-arch
Browse files Browse the repository at this point in the history
Fix ghcr.io unknow arch
  • Loading branch information
BWibo authored Nov 18, 2024
2 parents fcf7f8f + 47ae623 commit a4a4877
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/docker-build-push-edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: |
echo "OWNER_LC=${OWNER,,}" >>${GITHUB_ENV}
env:
OWNER: '${{ github.repository_owner }}'
OWNER: "${{ github.repository_owner }}"
- name: Checkout repo
uses: actions/checkout@v4
- name: Docker login Dockerhub
Expand Down Expand Up @@ -79,5 +79,7 @@ jobs:
build-args: |
CITYDB_TOOL_VERSION=${{ steps.short-sha.outputs.sha }}
annotations: ${{ steps.meta.outputs.annotations }}
provenance: false
sbom: false
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
6 changes: 4 additions & 2 deletions .github/workflows/docker-build-push-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: docker-build-push-release
on:
workflow_dispatch:
release:
types: [ published, edited ]
types: [published, edited]
env:
IMAGE_NAME: citydb-tool
PLATFORMS: linux/amd64,linux/arm64
Expand All @@ -20,7 +20,7 @@ jobs:
run: |
echo "OWNER_LC=${OWNER,,}" >>${GITHUB_ENV}
env:
OWNER: '${{ github.repository_owner }}'
OWNER: "${{ github.repository_owner }}"
- name: Checkout repo
uses: actions/checkout@v4
- name: Docker login Dockerhub
Expand Down Expand Up @@ -78,5 +78,7 @@ jobs:
build-args: |
CITYDB_TOOL_VERSION=${{ steps.release_version.outputs.version }}
annotations: ${{ steps.meta.outputs.annotations }}
provenance: false
sbom: false
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

0 comments on commit a4a4877

Please sign in to comment.