Skip to content

Commit

Permalink
Merge pull request #663 from AevumDecessus/update_workflows
Browse files Browse the repository at this point in the history
Updated workflows to use node20 instead of node16
  • Loading branch information
AevumDecessus committed Oct 24, 2023
2 parents 0ded35c + e67a1a4 commit c06c4a7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/dev-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ jobs:
dockerfile: [ "web", "worker", "beat" ]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: true
- name: Debug
run: |
echo "github.ref -> {{ github.ref }}"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug

- name: Docker metadata
id: metadata
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository_owner }}/${{ env.IMG_NAME }}-${{ matrix.dockerfile }}
tags: |
Expand All @@ -45,22 +45,22 @@ jobs:
- name: Login to GitHub Container Registry
if: env.BUILD_ARGS != '--test'
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.${{ matrix.dockerfile }}
push: true
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
- name: Deploy
uses: darnfish/watchtower-update@v3.2
uses: darnfish/watchtower-update@v3.3
with:
url: "${{ secrets.WATCHTOWER_URL }}"
api_token: "${{ secrets.WATCHTOWER_API_TOKEN }}"
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/prod-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@ jobs:
dockerfile: [ "web", "worker", "beat" ]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: true
- name: Debug
run: |
echo "github.ref -> {{ github.ref }}"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug

- name: Docker metadata
id: metadata
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository_owner }}/${{ env.IMG_NAME }}-${{ matrix.dockerfile }}
tags: |
Expand All @@ -47,14 +47,14 @@ jobs:
- name: Login to GitHub Container Registry
if: env.BUILD_ARGS != '--test'
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.${{ matrix.dockerfile }}
Expand Down

0 comments on commit c06c4a7

Please sign in to comment.