mirror of
https://github.com/CCC-MF/bwhc-kafka-rest-proxy.git
synced 2025-04-19 11:06:51 +00:00
26 lines
622 B
YAML
26 lines
622 B
YAML
name: "Run build and deploy"
|
|
|
|
on:
|
|
push:
|
|
branches: [ 'master' ]
|
|
|
|
jobs:
|
|
docker:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Login to Docker Hub
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Execute image build and push
|
|
run: |
|
|
docker build -t ghcr.io/ccc-mf/bwhc-kafka-rest-proxy .
|
|
docker push ghcr.io/ccc-mf/bwhc-kafka-rest-proxy |