Skip to content

Commit

Permalink
ci: updated github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
demartis committed Nov 15, 2023
1 parent a1f460d commit 641d494
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/sub_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 641d494

Please sign in to comment.