Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorwolf committed Feb 5, 2024
1 parent 877155d commit c1332de
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 76 deletions.
70 changes: 26 additions & 44 deletions .github/workflows/docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,78 +14,60 @@ jobs:
node-version: [18.x]

steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
-
name: Login to DockerHub
uses: docker/login-action@v2
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Install npm dependencies
- name: Install npm dependencies
run: npm ci
-
name: cds build
- name: cds build
run: npm run build
-
name: build db
- name: build db
run: ./pg-build.sh
-
name: Build and push
- name: Build and push
id: docker_build
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms:
linux/amd64
tags:
gregorwolf/pg-beershop:latest
-
name: Image digest
platforms: linux/amd64
tags: gregorwolf/pg-beershop:latest
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

-
name: Build and push db deployer
- name: Build and push db deployer
id: docker_build_db
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
file: db-deployer-kubernetes/Dockerfile
push: true
tags:
gregorwolf/pg-beershop-db:latest
-
name: Image digest
tags: gregorwolf/pg-beershop-db:latest
- name: Image digest
run: echo ${{ steps.docker_build_db.outputs.digest }}

-
name: Build and push UI
- name: Build and push UI
id: docker_build_ui
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: app
push: true
tags:
gregorwolf/pg-beershop-ui:latest
-
name: Image digest
tags: gregorwolf/pg-beershop-ui:latest
- name: Image digest
run: echo ${{ steps.docker_build_ui.outputs.digest }}
## Not possible until https://github.com/docker/hub-tool/issues/172 is solved
# -
# -
# name: Publish Readme
# id: publish_readme
# uses: meeDamian/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fosstars-project-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
runs-on: ubuntu-latest
name: "Security rating"
steps:
- uses: actions/checkout@v3.0.2
- uses: SAP/fosstars-rating-core-action@v1
- uses: actions/checkout@v4
- uses: SAP/fosstars-rating-core-action@v1.14.0
with:
report-branch: fosstars-report
token: "${{ secrets.GITHUB_TOKEN }}"
62 changes: 33 additions & 29 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"@sap/cds-dk": "^7",
"@sap/ux-specification": "^1",
"cds-launchpad-plugin": "^2",
"chai": "^4",
"chai": "^5",
"chai-as-promised": "^7",
"chai-subset": "^1",
"dotenv": "^16.3.1",
Expand Down

0 comments on commit c1332de

Please sign in to comment.