We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c80edab commit d32bc6dCopy full SHA for d32bc6d
1 file changed
.github/workflows/docker-publish.yml
@@ -8,8 +8,6 @@ on:
8
branches: [ "master", "main" ]
9
10
env:
11
- REGISTRY: ""
12
- DOCKER_USER: "CoolyDucks"
13
IMAGE_NAME: "json"
14
15
jobs:
@@ -29,14 +27,14 @@ jobs:
29
27
if: github.event_name != 'pull_request'
30
28
uses: docker/login-action@v3
31
with:
32
- username: ${{ env.DOCKER_USER }}
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
33
password: ${{ secrets.DOCKERHUB_TOKEN }}
34
35
- name: Extract Docker metadata
36
id: meta
37
uses: docker/metadata-action@v5
38
39
- images: ${{ env.DOCKER_USER }}/${{ env.IMAGE_NAME }}
+ images: ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}
40
tags: |
41
type=raw,value=latest
42
type=semver,pattern={{version}}
@@ -51,4 +49,3 @@ jobs:
51
49
labels: ${{ steps.meta.outputs.labels }}
52
50
cache-from: type=gha
53
cache-to: type=gha,mode=max
54
-
0 commit comments