-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nothing too noteworthy. MariaDB removed mysql compatibility symlinks in v11 so now Docker compose files need to use mariadbd instead of mysqld as the entrypoint.
- Loading branch information
Showing
10 changed files
with
142 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,12 +24,12 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout current repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: set up Node.js 18.x | ||
uses: actions/setup-node@v3 | ||
- name: set up Node.js LTS | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '18' | ||
node-version: '20' | ||
|
||
- name: npm install | ||
run: npm ci | ||
|
@@ -49,12 +49,12 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout current repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: set up Node.js 18.x | ||
uses: actions/setup-node@v3 | ||
- name: set up Node.js LTS | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '18.x' | ||
node-version: '20' | ||
|
||
- name: npm install | ||
working-directory: ./client | ||
|
@@ -67,7 +67,7 @@ jobs: | |
run: npm run build | ||
|
||
- name: deploy assets to server | ||
uses: appleboy/[email protected].3 | ||
uses: appleboy/[email protected].7 | ||
with: | ||
host: ${{ secrets.SSH_HOST }} | ||
username: ${{ secrets.SSH_USER }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,24 +19,24 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout current repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: set up Java 21 | ||
uses: actions/setup-java@v3 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '21' | ||
distribution: 'temurin' | ||
|
||
- name: build application jar | ||
uses: gradle/gradle-build-action@v2 | ||
uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
gradle-version: wrapper | ||
arguments: build | ||
build-root-directory: server | ||
|
||
- name: create server artifact from jar | ||
if: github.ref == 'refs/heads/main' | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: server | ||
path: server/build | ||
|
@@ -47,25 +47,25 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout current repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: download server artifact | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: server | ||
path: server/build | ||
|
||
- name: set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: log in to DockerHub | ||
uses: docker/login-action@v2 | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: build and publish server Docker image | ||
uses: docker/build-push-action@v3 | ||
uses: docker/build-push-action@v6 | ||
with: | ||
context: server | ||
file: server/docker/Dockerfile | ||
|
@@ -74,7 +74,7 @@ jobs: | |
tags: stenal/baltic-stock-server:latest | ||
|
||
- name: deploy production docker-compose.yml | ||
uses: appleboy/[email protected].3 | ||
uses: appleboy/[email protected].7 | ||
with: | ||
host: ${{ secrets.SSH_HOST }} | ||
username: ${{ secrets.SSH_USER }} | ||
|
@@ -85,7 +85,7 @@ jobs: | |
strip_components: 3 | ||
|
||
- name: Deploy published images | ||
uses: appleboy/ssh-action@v0.1.7 | ||
uses: appleboy/ssh-action@v1.0.3 | ||
with: | ||
host: ${{ secrets.SSH_HOST }} | ||
username: ${{ secrets.SSH_USER }} | ||
|
Oops, something went wrong.