Skip to content

Commit 9649125

Browse files
authored
Merge pull request #63 from udx/worker-upgrade
Migrate to Docker Ops Workflow
2 parents bc61efa + 638f063 commit 9649125

5 files changed

Lines changed: 37 additions & 255 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 0 additions & 97 deletions
This file was deleted.

.github/workflows/codeql.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ name: "CodeQL and Linter"
44
on:
55
push:
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
analyze-shell:
912
name: Analyze Shell Scripts

.github/workflows/docker-ops.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: Docker Operations
3+
4+
"on":
5+
push:
6+
paths:
7+
- ".github/workflows/docker-ops.yml"
8+
- "Dockerfile"
9+
- "ci/**"
10+
- "src/**"
11+
- LICENSE
12+
workflow_dispatch:
13+
14+
jobs:
15+
docker_ops:
16+
permissions:
17+
id-token: write
18+
contents: write
19+
security-events: write
20+
actions: read
21+
22+
uses: udx/reusable-workflows/.github/workflows/docker-ops.yml@master
23+
with:
24+
image_name: worker-nodejs
25+
release_branch: latest
26+
docker_login: ${{ vars.DOCKER_LOGIN }}
27+
docker_org: ${{ vars.DOCKER_ORG }}
28+
docker_repo: ${{ vars.DOCKER_REPO }}
29+
enable_security_upload: ${{ github.repository == 'udx/worker-nodejs' }}
30+
31+
secrets:
32+
docker_token: ${{ secrets.DOCKER_TOKEN }}

.github/workflows/release.yml

Lines changed: 0 additions & 156 deletions
This file was deleted.

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Use the latest udx-worker as the base image
2-
FROM usabilitydynamics/udx-worker:0.35.0
2+
FROM usabilitydynamics/udx-worker:0.36.0
33

44
# Add metadata labels
5-
LABEL version="0.23.0"
5+
LABEL version="0.24.0"
66

77
# Set build arguments for Node.js version and application port
88
ARG NODE_VERSION=22.21.1

0 commit comments

Comments
 (0)