Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
Specify Node.js 20 for GitHub Actions
  • Loading branch information
filikun authored Jul 3, 2024
1 parent 3e4e27f commit b5c01b6
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,31 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3 # Update to v3
uses: actions/checkout@v3
with:
node-version: '20'

- name: Set up QEMU
uses: docker/setup-qemu-action@v3 # Update to v3
uses: docker/setup-qemu-action@v3
with:
node-version: '20'

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 # Update to v3
uses: docker/setup-buildx-action@v3
with:
node-version: '20'

- name: Login to GitHub Container Registry
uses: docker/login-action@v3 # Update to v3
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_PAT }}

- name: Build and push Docker image
uses: docker/build-push-action@v4 # Update to v4
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ghcr.io/${{ github.repository_owner }}/pkmn-event-notifier:latest
node-version: '20'

0 comments on commit b5c01b6

Please sign in to comment.