File tree 1 file changed +5
-15
lines changed 1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -16,25 +16,15 @@ jobs:
16
16
uses : docker/setup-qemu-action@v3
17
17
- name : Set up Docker Buildx
18
18
uses : docker/setup-buildx-action@v3
19
- - name : Get Docker Metadata
20
- id : meta
21
- uses : docker/metadata-action@v5
22
- with :
23
- # list of Docker images to use as base name for tags
24
- images : |
25
- eddsnx3/vault-secret-injector
26
- # generate Docker tags based on the following events/attributes
27
- tags : |
28
- type=raw,value=latest,enable={{is_default_branch}}
29
- type=sha
30
- - name : Login to DockerHub Container Registry
19
+ - name : Login to GitHub Container Registry
31
20
uses : docker/login-action@v3
32
21
with :
33
- username : ${{ secrets.DOCKERHUB_USERNAME }}
34
- password : ${{ secrets.DOCKERHUB_TOKEN }}
22
+ registry : ghcr.io
23
+ username : ${{ github.actor }}
24
+ password : ${{ secrets.GITHUB_TOKEN }}
35
25
- name : Build and push
36
26
uses : docker/build-push-action@v6
37
27
with :
38
28
context : .
39
29
push : true
40
- tags : ${{ steps.meta.outputs.tags }}
30
+ tags : ghcr.io/giveth/vault-secret-injector:latest
You can’t perform that action at this time.
0 commit comments