We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1325ee commit 928313cCopy full SHA for 928313c
1 file changed
.github/workflows/docker-image.yml
@@ -22,15 +22,14 @@ jobs:
22
23
- name: Build & push container to Docker Hub
24
env:
25
- # set these in your repo secrets
26
- DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
27
- DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
+ DOTNET_CONTAINER_REGISTRY_UNAME: ${{ secrets.DOCKER_USERNAME }}
+ DOTNET_CONTAINER_REGISTRY_PWORD: ${{ secrets.DOCKER_PASSWORD }}
28
run: |
29
dotnet publish "src/BF2WebAdmin.Server/BF2WebAdmin.Server.csproj" \
30
-c Release \
31
-t:PublishContainer \
32
-p:RuntimeIdentifier=linux-x64 \
33
-p:ContainerRegistry=docker.io \
34
-p:ContainerRepository=nihlen/bf2-webadmin \
35
- -p:ContainerImageTags='"latest;${{ github.sha }}"'
+ -p:ContainerImageTags='"latest;sha-${{ github.sha }}"'
36
--no-self-contained
0 commit comments