Skip to content

Commit

Permalink
DROP: Build and push image
Browse files Browse the repository at this point in the history
  • Loading branch information
robertvolkmann committed Aug 7, 2024
1 parent 2824a4a commit b5cd102
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Docker Build Action
on:
push:

jobs:
build:
name: Docker Build
runs-on: ubuntu-latest

steps:
- name: Log in to the container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ secrets.DOCKER_REGISTRY_USER }}
password: ${{ secrets.DOCKER_REGISTRY_TOKEN }}

- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Build and push image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ghcr.io/metal-stack/dns-controller-manager:powerdns

0 comments on commit b5cd102

Please sign in to comment.