Skip to content

Commit

Permalink
ci: Update build.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NGPixel authored May 29, 2024
1 parent 3a95a16 commit 0ba493e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Node.js 18.x
uses: actions/setup-node@v3.7.0
- name: Setup Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.x

- name: Build Static Files
working-directory: ui
Expand All @@ -22,20 +22,20 @@ jobs:
npm run generate
- name: Docker Setup 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: Docker Login
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Docker Build & Push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: ui
file: ui/Dockerfile
Expand Down

0 comments on commit 0ba493e

Please sign in to comment.