Skip to content

Commit

Permalink
update environment tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamesits committed Aug 23, 2023
1 parent 979780c commit 9e1f2c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ jobs:
-
name: Login to Docker Hub
uses: docker/login-action@v2
environment: "Docker Hub"
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
environment: "Docker Hub"
with:
file: ./Dockerfile.${{ matrix.variant }}
tags: m13253/dns-over-https-${{ matrix.variant }}:latest
Expand All @@ -35,5 +37,8 @@ jobs:
name: Logout from Docker Hub
uses: docker/login-action@v2
if: always()
environment: "Docker Hub"
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
logout: true

0 comments on commit 9e1f2c7

Please sign in to comment.