diff --git a/.github/workflows/publish-ghcr.yml b/.github/workflows/publish-ghcr.yml index 724788f..85f844d 100644 --- a/.github/workflows/publish-ghcr.yml +++ b/.github/workflows/publish-ghcr.yml @@ -3,6 +3,7 @@ on: push: tags: - 'v*' + workflow_dispatch: jobs: build: @@ -15,6 +16,8 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + with: + platforms: 'arm64' - name: Login to Docker Hub uses: docker/login-action@v3 @@ -25,5 +28,5 @@ jobs: - name: Build and push run: | - docker build . --tag ghcr.io/${{ github.actor }}/tldr-lint:latest ghcr.io/${{ github.actor }}/tldr-lint:${{ github.ref_name }} - docker push ghcr.io/${{ github.actor }}/tldr-lint:latest ghcr.io/${{ github.actor }}/tldr-lint:${{ github.ref_name }} + docker build . --tag ghcr.io/${{ github.actor }}/tldr-lint:latest + docker push ghcr.io/${{ github.actor }}/tldr-lint:latest