Skip to content

Commit

Permalink
Update docker-build.yml
Browse files Browse the repository at this point in the history
Actions v3 will stop to function by 2024-12-05
  • Loading branch information
zehndean authored Nov 12, 2024
1 parent e60e8a3 commit e473c07
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Build
run: npm run build-prod
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: WebIO.Frontend
path: ./webclient/dist/metechno-io-db
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
- name: Publish
run: dotnet publish -c Release -r win-x64 WebIO.Cli/WebIO.Cli.csproj
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: WebIO.Cli
path: ./src/WebIO/WebIO.Cli/bin/Release/net7.0/win-x64/publish
Expand All @@ -99,7 +99,7 @@ jobs:
- name: Publish
run: dotnet publish -c Release WebIO.Api/WebIO.Api.csproj
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: WebIO.Api
path: ./src/WebIO/WebIO.Api/bin/Release/net7.0/publish
Expand All @@ -111,14 +111,14 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Download API
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: WebIO.Api
path: build/app
- name: List API files
run: ls -la build/app
- name: Download Frontend
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: WebIO.Frontend
path: build/wwwroot
Expand All @@ -143,12 +143,12 @@ jobs:
docker save webio:latest --output ./webio-latest.tar
docker save webio:${{ github.run_id }} --output ./webio-${{ github.run_id }}.tar
- name: Upload latest
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: WebIO.Docker-latest
path: ./build/webio-latest.tar
- name: Upload run-id version
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: WebIO.Docker-${{ github.run_id }}
path: ./build/webio-${{ github.run_id }}.tar

0 comments on commit e473c07

Please sign in to comment.