diff --git a/.github/workflows/dev_images.yml b/.github/workflows/dev_images.yml index 7a8b7edb3..01b54bc92 100644 --- a/.github/workflows/dev_images.yml +++ b/.github/workflows/dev_images.yml @@ -12,11 +12,19 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Set up qemu - uses: docker/setup-qemu-action@v2 - - name: Login registry - run: | - echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin + - name: install Go + uses: actions/setup-go@v5 + with: + go-version-file: go.mod + - name: install QEMU + uses: docker/setup-qemu-action@v3 + - name: install Buildx + uses: docker/setup-buildx-action@v3 + - name: login to DockerHub + uses: docker/login-action@v3 + with: + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Push images env: ON_PLUGINS: true diff --git a/.github/workflows/release_images.yml b/.github/workflows/release_images.yml index 4d8be48bc..837aa26b3 100644 --- a/.github/workflows/release_images.yml +++ b/.github/workflows/release_images.yml @@ -12,11 +12,19 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Set up qemu - uses: docker/setup-qemu-action@v2 - - name: Login registry - run: | - echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin + - name: install Go + uses: actions/setup-go@v5 + with: + go-version-file: go.mod + - name: install QEMU + uses: docker/setup-qemu-action@v3 + - name: install Buildx + uses: docker/setup-buildx-action@v3 + - name: login to DockerHub + uses: docker/login-action@v3 + with: + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Push images env: ON_PLUGINS: true