Skip to content

Commit

Permalink
Merge pull request #9 from sendible-labs/arm
Browse files Browse the repository at this point in the history
feat: ci and release ARM
  • Loading branch information
tico24 authored Jul 5, 2023
2 parents 530510e + 0b31fb7 commit daf758a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3.5.3
uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
Expand All @@ -23,6 +23,10 @@ jobs:
- name: pylint
run: |
find . -name 'renovate_helper' -exec pylint {} \;
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
Expand All @@ -33,5 +37,6 @@ jobs:
uses: docker/build-push-action@v4
with:
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/${{ github.repository }}:latest
9 changes: 7 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3.5.3
uses: actions/checkout@v3
- name: Get git tag
uses: little-core-labs/get-git-tag@v3.0.2
uses: olegtarasov/get-tag@v2.1.2
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
Expand All @@ -22,6 +26,7 @@ jobs:
uses: docker/build-push-action@v4
with:
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/${{ github.repository }}:${{ env.GIT_TAG_NAME }}
ghcr.io/${{ github.repository }}:stable
Expand Down

0 comments on commit daf758a

Please sign in to comment.