Skip to content

Commit 0274355

Browse files
authored
Update ci.yml
1 parent 13a308c commit 0274355

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,15 @@ jobs:
1616
uses: docker/setup-qemu-action@v3
1717
- name: Set up Docker Buildx
1818
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
3120
uses: docker/login-action@v3
3221
with:
33-
username: ${{ secrets.DOCKERHUB_USERNAME }}
34-
password: ${{ secrets.DOCKERHUB_TOKEN }}
22+
registry: ghcr.io
23+
username: ${{ github.actor }}
24+
password: ${{ secrets.GITHUB_TOKEN }}
3525
- name: Build and push
3626
uses: docker/build-push-action@v6
3727
with:
3828
context: .
3929
push: true
40-
tags: ${{ steps.meta.outputs.tags }}
30+
tags: ghcr.io/giveth/vault-secret-injector:latest

0 commit comments

Comments
 (0)