Skip to content

Commit

Permalink
fix CI config grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamesits committed Aug 23, 2023
1 parent 9e1f2c7 commit f5f0351
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
docker:
runs-on: ubuntu-latest
environment: "Docker Hub"
strategy:
matrix:
variant: ["client", "server"]
Expand All @@ -21,14 +22,12 @@ 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 @@ -37,7 +36,6 @@ 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 }}
Expand Down

0 comments on commit f5f0351

Please sign in to comment.