Skip to content

Commit

Permalink
Update docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
WeihanLi authored Dec 2, 2024
1 parent e805e4b commit a3eacfe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .azure/pipelines/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ steps:
displayName: 'Setup qemu and docker buildx'

- script: |
docker buildx build -f Dockerfile --platform="linux/amd64,linux/arm64" --output="type=image" -t weihanli/dotnet-httpie:latest -t weihanli/dotnet-httpie:preview -t weihanli/dotnet-httpie:stable .
docker build -f Dockerfile --platform="linux/amd64,linux/arm64" -t weihanli/dotnet-httpie:latest -t weihanli/dotnet-httpie:preview -t weihanli/dotnet-httpie:stable .
docker images
displayName: 'Docker build Script'

- script: |
docker images
- script: |
docker login -u $(dockerId) -p $(pswd)
docker push weihanli/dotnet-httpie:latest
displayName: 'Push latest image'
Expand Down

0 comments on commit a3eacfe

Please sign in to comment.