diff --git a/.github/workflows/sub_release.yaml b/.github/workflows/sub_release.yaml index d20c848..fa8e537 100644 --- a/.github/workflows/sub_release.yaml +++ b/.github/workflows/sub_release.yaml @@ -40,7 +40,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v2 @@ -49,13 +49,20 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Create cache folders run: mkdir /tmp/.buildx-cache /tmp/.buildx-cache-new + + - name: Extract metadata (tags, labels) for Docker + id: meta + uses: docker/metadata-action@4 + with: + images: ${{ inputs.DOCKERHUB_REPO }} + - name: Build and push :test uses: docker/build-push-action@v4 @@ -106,6 +113,11 @@ jobs: continue-on-error: true run: | docker image inspect ${{ inputs.DOCKERHUB_REPO }}:${{ inputs.DOCKERHUB_TAG }} + - + name: MCR Version check + continue-on-error: false + run: | + docker run --rm ${{ inputs.DOCKERHUB_REPO }}:${{ inputs.DOCKERHUB_TAG }} echo "${MCR_MASTER_PATH}/VersionInfo.xml" - name: MCR Test (Temp skipped) continue-on-error: true