Skip to content

activate trivy scanner #9

activate trivy scanner

activate trivy scanner #9

Workflow file for this run

name: Create Image
env:
version: $(date +%s)
on:
push:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file registry-proxy.dockerfile --tag registry.ohrenpirat.de:5000/mwildt/mwildt/registry-proxy:latest
- name: Login Registry
run: echo ${{ secrets.DOCKER_REPO_KEY }} | docker login -u github-build --password-stdin registry.ohrenpirat.de:5000
- name: Docker Push
run: docker push registry.ohrenpirat.de:5000/mwildt/mwildt/registry-proxy:latest