Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase support for arm64 and riscv64 #51

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions .github/workflows/auto-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,41 +27,47 @@ jobs:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.7
- name: Log in to Docker Hub
uses: redhat-actions/podman-login@v1
uses: redhat-actions/podman-login@v1.7
with:
registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Log in to the GitHub Container Registry
uses: redhat-actions/podman-login@v1
uses: redhat-actions/podman-login@v1.7
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v5.5.1
with:
images: |
docker.io/${{ secrets.DOCKER_USERNAME }}/vlmcsd
ghcr.io/${{ github.actor }}/vlmcsd
tags: |
type=schedule,pattern={{date 'YYYYMMDD'}}
${{ needs.check.outputs.docker_tags }}
- name: Setup QEMU
uses: docker/[email protected]
id: qemu
with:
platforms: amd64,arm64,riscv64
- name: Build container with rootless by Buildah
uses: redhat-actions/buildah-build@v2
uses: redhat-actions/buildah-build@v2.13
id: build-image
with:
platforms: ${{ steps.qemu.outputs.platforms }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
containerfiles: ./Dockerfile
build-args: |
VERSION=${{ needs.check.outputs.stable_ver }}
layers: false
- name: Push to Container registry
uses: redhat-actions/push-to-registry@v2
uses: redhat-actions/push-to-registry@v2.8
with:
images: ${{ steps.build-image.outputs.image }}
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }}
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.7
- run: make build