Skip to content

Commit

Permalink
Merge pull request #207 from MitchTalmadge/staging
Browse files Browse the repository at this point in the history
Update workflows
  • Loading branch information
MitchTalmadge authored Dec 8, 2024
2 parents 590aeb8 + 717ecbe commit 6ae4b61
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
arch: [amd64,arm64]
steps:
- name: "Checkout Git Repo"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "Set up QEMU"
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: "Set up Docker Buildx"
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: "Build Docker Image"
uses: docker/build-push-action@v4
with:
Expand All @@ -39,7 +39,7 @@ jobs:
outputs: type=docker,dest=/tmp/docker-image-${{ matrix.arch }}.tar
- name: "Upload Docker Image Artifact"
if: ${{ inputs.for_deploy == true }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: image-${{ matrix.arch }}
path: /tmp/docker-image-${{ matrix.arch }}.tar
4 changes: 2 additions & 2 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
needs: build
steps:
- name: "Download Docker Image Artifacts"
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
path: /tmp
- name: "Get Tag Name"
Expand All @@ -49,7 +49,7 @@ jobs:
echo "TAGS=${TAGS}" >> $GITHUB_OUTPUT
docker image ls -a
- name: "Login to Docker Hub"
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
needs: build
steps:
- name: "Download Docker Image Artifacts"
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
path: /tmp
- name: "Get Branch Name"
Expand All @@ -44,7 +44,7 @@ jobs:
echo "TAGS=${TAGS}" >> $GITHUB_OUTPUT
docker image ls -a
- name: "Login to Docker Hub"
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down

0 comments on commit 6ae4b61

Please sign in to comment.