diff --git a/.github/workflows/clean-containers.yaml b/.github/workflows/clean-containers.yaml index 1cb57b1..a0d3901 100644 --- a/.github/workflows/clean-containers.yaml +++ b/.github/workflows/clean-containers.yaml @@ -23,7 +23,7 @@ jobs: uses: snok/container-retention-policy@v2.1.1 with: image-names: ${{ env.REGISTRY }}/${{ env.REPO }} - filter-tags: sha-*,sha256:* + filter-tags: "sha-*", "sha256:*" cut-off: A week ago UTC account-type: org org-name: ${{ github.repository_owner }} diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index e064c5a..1cb19c1 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -16,13 +16,19 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + - name: Log in to the Container registry uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - + - name: downcase REPO name run: | echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV} @@ -42,6 +48,7 @@ jobs: uses: docker/build-push-action@v4 with: context: . + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} labels: |