diff --git a/.github/workflows/windows-ssh-image.yaml b/.github/workflows/windows-ssh-image.yaml index 96203a64..35ee2435 100644 --- a/.github/workflows/windows-ssh-image.yaml +++ b/.github/workflows/windows-ssh-image.yaml @@ -28,19 +28,22 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Extract metadata (tags, labels) for Docker - id: meta - uses: docker/metadata-action@v5 - with: - labels: | - org.opencontainers.image.title=${{ env.IMAGE_NAME }} - - images: ${{ github.GITHUB_REPOSITORY }}/${{ env.IMAGE_NAME }} - tags: | - type=raw,value=${{ env.TAG }} + # - name: Extract metadata (tags, labels) for Docker + # id: meta + # uses: docker/metadata-action@v5 + # with: + # labels: | + # org.opencontainers.image.title=${{ env.IMAGE_NAME }} + # + # images: ${{ github.repository_owner }}/${{ env.IMAGE_NAME }} + # tags: | + # type=raw,value=${{ env.TAG }} - name: Build image # can't use build-push-action on Windows # https://github.com/docker/build-push-action/issues/18 run: | - docker build --push -t ${{ github.GITHUB_REPOSITORY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }} -f win_base_Dockerfile ci/ssh + docker build -t ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:${{ env.TAG }} -f win_base_Dockerfile ci/ssh + - name: Push image + run: | + docker push ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}