chore: changing versions
This commit is contained in:
parent
79e09f049f
commit
d4be4f47e4
2 changed files with 24 additions and 11 deletions
25
.github/workflows/ci.yml
vendored
25
.github/workflows/ci.yml
vendored
|
|
@ -11,16 +11,27 @@ jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- name: Check out source
|
||||||
- uses: actions/setup-go@v6
|
uses: actions/checkout@v4 # 👈 Fixed version (v4 is the current stable release)
|
||||||
|
|
||||||
|
- name: Set up Go environment
|
||||||
|
uses: actions/setup-go@v5 # 👈 Fixed version (v5 is the current stable release)
|
||||||
with:
|
with:
|
||||||
go-version-file: backend/go.mod
|
go-version-file: backend/go.mod
|
||||||
cache-dependency-path: backend/go.sum
|
cache-dependency-path: backend/go.sum
|
||||||
- uses: actions/setup-node@v5
|
|
||||||
|
- name: Set up Node.js environment
|
||||||
|
uses: actions/setup-node@v4 # 👈 Fixed version (v4 is the current stable release)
|
||||||
with:
|
with:
|
||||||
node-version: 26
|
node-version: 26.x # 👈 Changed to '26.x' for flexible, safe minor patch resolution
|
||||||
cache: npm
|
cache: npm
|
||||||
cache-dependency-path: frontend/package-lock.json
|
cache-dependency-path: frontend/package-lock.json
|
||||||
- run: make test
|
|
||||||
- run: make lint
|
- name: Run Tests
|
||||||
- run: make build
|
run: make test
|
||||||
|
|
||||||
|
- name: Run Linters
|
||||||
|
run: make lint
|
||||||
|
|
||||||
|
- name: Run Build Verify
|
||||||
|
run: make build
|
||||||
|
|
|
||||||
10
.github/workflows/publish-image.yml
vendored
10
.github/workflows/publish-image.yml
vendored
|
|
@ -20,7 +20,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out source
|
- name: Check out source
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Configure HTTP registry
|
- name: Configure HTTP registry
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -35,19 +35,21 @@ jobs:
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
- name: Log in to private registry
|
- name: Log in to private registry
|
||||||
uses: docker/login-action@v4
|
uses: docker/login-action@v3 # 👈 Reverted to stable v3
|
||||||
with:
|
with:
|
||||||
registry: batty1039.startdedicated.net:5000
|
registry: batty1039.startdedicated.net:5000
|
||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v4
|
uses: docker/setup-buildx-action@v3 # 👈 Reverted to stable v3
|
||||||
with:
|
with:
|
||||||
buildkitd-config: /tmp/buildkitd.toml
|
buildkitd-config: /tmp/buildkitd.toml
|
||||||
|
driver-opts: |
|
||||||
|
image=moby/buildkit:master
|
||||||
|
|
||||||
- name: Build and push image
|
- name: Build and push image
|
||||||
uses: docker/build-push-action@v7
|
uses: docker/build-push-action@v6 # 👈 Reverted to stable v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue