Skip to content

Merge pull request #1 from Shreyas220/kubearmor #1

Merge pull request #1 from Shreyas220/kubearmor

Merge pull request #1 from Shreyas220/kubearmor #1

Workflow file for this run

name: Publish Docker image
on:
push:
branches:
- "master"
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_AUTHTOK }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: kubearmor/sidekick:latest