Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 187b6163c9 |
@@ -14,11 +14,20 @@ env:
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: mcr-mirror.liara.ir/dotnet/sdk:10.0
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Docker CLI
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
apt-get update
|
||||
apt-get install -y docker.io
|
||||
|
||||
- name: Login to Harbor
|
||||
shell: bash
|
||||
env:
|
||||
|
||||
@@ -17,16 +17,13 @@ env:
|
||||
jobs:
|
||||
pack-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: mcr-mirror.liara.ir/dotnet/sdk:10.0
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: 9.0.x
|
||||
|
||||
- name: Restore selected projects
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user