ci: moved Docker installation to 'publish' phase
@@ -112,12 +112,6 @@ jobs:
- name: Install macOS-specific packages
run: "sudo xcode-select -r"
if: ${{ contains(matrix.os, 'macos') }}
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v1
- if: ${{ contains(matrix.os, 'ubuntu') }}
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v1
- if: ${{ contains(matrix.os, 'ubuntu') }}
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
@@ -170,6 +164,10 @@ jobs:
if: ${{ github.event_name != 'pull_request' }}
steps:
- uses: actions/checkout@v2
+ - name: Set up QEMU
+ uses: docker/setup-qemu-action@v1
+ - name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v1
- name: Download Artifacts
uses: actions/download-artifact@v2
with:
