Skip to content

Commit

Permalink
adjust Dockerfile & add Dependabot & CI
Browse files Browse the repository at this point in the history
Signed-off-by: André Bauer <[email protected]>
  • Loading branch information
monotek committed Jun 26, 2023
1 parent 9be7138 commit b83532d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/docker-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,31 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

<<<<<<< HEAD
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
=======
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
>>>>>>> aba9ea0 (adjust Dockerfile & add Dependabot & CI)

- name: Docker metadata action
id: meta
uses: docker/metadata-action@v4
with:
images: |
<<<<<<< HEAD
monotek/cvdupdate
=======
ghcr.io/${{ github.repository_owner }}/cvdupdate
>>>>>>> aba9ea0 (adjust Dockerfile & add Dependabot & CI)
tags: |
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
type=ref,event=branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release Drafter
on:
push:
branches:
- master
- main
pull_request:
types: [opened, reopened, synchronize]

Expand Down

0 comments on commit b83532d

Please sign in to comment.