diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index db35a48..e196466 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,7 +6,7 @@ on: - 'v*' jobs: - core-release-amd64: + core-release: runs-on: ubicloud-standard-2 steps: - name: Login to Github Packages @@ -38,7 +38,7 @@ jobs: uses: docker/build-push-action@v6 with: context: . - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.openshield.outputs.tags }} labels: ${{ steps.openshield.outputs.labels }} @@ -75,7 +75,7 @@ jobs: uses: docker/build-push-action@v6 with: context: services/rule - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.rule.outputs.tags }} labels: ${{ steps.rule.outputs.labels }} @@ -112,44 +112,8 @@ jobs: uses: docker/build-push-action@v6 with: context: services/cache - platforms: linux/amd64 + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.cache.outputs.tags }} labels: ${{ steps.cache.outputs.labels }} - cache-release-arm64: - runs-on: ubicloud-standard-2-arm - steps: - - name: Login to Github Packages - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: 🏗 Setup repo - uses: actions/checkout@v4 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - with: - version: latest - - - name: Docker meta - id: cache - uses: docker/metadata-action@v5 - with: - images: | - ghcr.io/openshieldai/openshield/cache - tags: | - type=sha - type=raw,value=latest - - - name: Build arm64 - uses: docker/build-push-action@v6 - with: - context: services/cache - platforms: linux/arm64 - push: true - tags: ${{ steps.cache.outputs.tags }} - labels: ${{ steps.cache.outputs.labels }}