mirror of
https://github.com/m13253/dns-over-https.git
synced 2026-03-30 05:19:56 +00:00
fix CI config grammar
This commit is contained in:
4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
@@ -8,6 +8,7 @@ on:
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
environment: "Docker Hub"
|
||||
strategy:
|
||||
matrix:
|
||||
variant: ["client", "server"]
|
||||
@@ -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
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user