Skip to content

Commit

Permalink
Update Docker CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Sep 21, 2024
1 parent 392dc48 commit bdb9a70
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,22 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: recursive
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
-
name: Build and export
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
tags: ippsample:${{ needs.setup.outputs.IMAGE_TAG }}
outputs: type=docker,dest=/tmp/ippsample.tar
-
name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ needs.setup.outputs.ARTIFACT_NAME }}
path: /tmp/ippsample.tar
Expand All @@ -60,10 +60,10 @@ jobs:
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
-
name: Download artifact
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
with:
name: ${{ needs.setup.outputs.ARTIFACT_NAME }}
path: /tmp
Expand Down Expand Up @@ -105,10 +105,10 @@ jobs:
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
-
name: Download artifact
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
with:
name: ${{ needs.setup.outputs.ARTIFACT_NAME }}
path: /tmp
Expand All @@ -122,7 +122,7 @@ jobs:
docker tag ippsample:${{ needs.setup.outputs.IMAGE_TAG }} ${{ secrets.DOCKERHUB_IMAGE }}:${{ needs.setup.outputs.IMAGE_TAG }}
-
name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -139,10 +139,10 @@ jobs:
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
-
name: Download artifact
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
with:
name: ${{ needs.setup.outputs.ARTIFACT_NAME }}
path: /tmp
Expand All @@ -156,7 +156,7 @@ jobs:
docker tag ippsample:${{ needs.setup.outputs.IMAGE_TAG }} ghcr.io/${{ secrets.GHCR_IMAGE }}:${{ needs.setup.outputs.IMAGE_TAG }}
-
name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand Down

0 comments on commit bdb9a70

Please sign in to comment.