We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae366de commit 79ddbc1Copy full SHA for 79ddbc1
.github/workflows/publish_docker.yml
@@ -1,4 +1,4 @@
1
-name: Build and Push Docker Image
+name: Publish Docker Image
2
3
on:
4
push:
@@ -7,8 +7,8 @@ on:
7
- 'beta*' # Push events to matching beta*, i.e. beta1.0, beta20.15.10
8
9
env:
10
- REGISTRY: ghcr.io
11
- IMAGE_NAME: ${{ github.repository }}
+ REGISTRY: hub.docker.com
+ IMAGE_NAME: lessapi/lessapi-duckduckgo
12
13
jobs:
14
build:
@@ -30,8 +30,8 @@ jobs:
30
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
31
with:
32
registry: ${{ env.REGISTRY }}
33
- username: ${{ github.actor }}
34
- password: ${{ secrets.GITHUB_TOKEN }}
+ username: ${{ secrets.LESSAPI_DOCKER_HUB_USERNAME }}
+ password: ${{ secrets.LESSAPI_DOCKER_HUB_ACCESS_TOKEN }}
35
36
- name: Extract metadata (tags, labels) for Docker
37
id: meta
0 commit comments