Skip to content

Commit

Permalink
Author field with --author as MAINTAINER is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
henrybravo committed Jun 22, 2024
1 parent 33bcaf7 commit 4aeed36
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- run: |
docker build . -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/ssl-checker-webapp:${{ github.sha }}
docker build --author="Henry Bravo" -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/ssl-checker-webapp:${{ github.sha }} .
docker tag ${{ secrets.REGISTRY_LOGIN_SERVER }}/ssl-checker-webapp:${{ github.sha }} ${{ secrets.REGISTRY_LOGIN_SERVER }}/ssl-checker-webapp:latest
docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/ssl-checker-webapp:${{ github.sha }}
docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/ssl-checker-webapp:latest
echo '--------------------'
echo '----------------------------------------'
docker inspect --format '
ID: {{.Id}}
RepoTags: {{.RepoTags}}
Expand All @@ -38,7 +38,7 @@ jobs:
Size: {{.Size}}
Metadata: {{.Metadata}}
' ${{ secrets.REGISTRY_LOGIN_SERVER }}/ssl-checker-webapp:latest
echo '--------------------'
echo '----------------------------------------'
build-and-push-to-dockerhub:
runs-on: ubuntu-latest
defaults:
Expand All @@ -54,11 +54,11 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- run: |
docker build . -t ${{ secrets.DOCKERHUB_USERNAME }}/ssl-checker-webapp:${{ github.sha }}
docker build --author="Henry Bravo" -t ${{ secrets.DOCKERHUB_USERNAME }}/ssl-checker-webapp:${{ github.sha }} .
docker tag ${{ secrets.DOCKERHUB_USERNAME }}/ssl-checker-webapp:${{ github.sha }} ${{ secrets.DOCKERHUB_USERNAME }}/ssl-checker-webapp:latest
docker push ${{ secrets.DOCKERHUB_USERNAME }}/ssl-checker-webapp:${{ github.sha }}
docker push ${{ secrets.DOCKERHUB_USERNAME }}/ssl-checker-webapp:latest
echo '--------------------'
echo '----------------------------------------'
docker inspect --format '
ID: {{.Id}}
RepoTags: {{.RepoTags}}
Expand All @@ -70,4 +70,4 @@ jobs:
Size: {{.Size}}
Metadata: {{.Metadata}}
' ${{ secrets.DOCKERHUB_USERNAME }}/ssl-checker-webapp:latest
echo '--------------------'
echo '----------------------------------------'

0 comments on commit 4aeed36

Please sign in to comment.