Update README.md #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Keycloak Docker Image CD | |
on: | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
keycloak-docker-cd: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_TOKEN }} | |
- name: Build and push Keycloak Docker image | |
uses: docker/build-push-action@v2 | |
with: | |
context: . | |
file: Dockerfile.keycloak | |
push: true | |
tags: smalho01234/keycloak:latest | |