Added Github action

This commit is contained in:
Roger Gonzalez 2024-02-20 12:40:20 -03:00
parent e94525c047
commit 3dd510ab27
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6

25
.github/workflows/publish.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Build and Push Docker Image
on:
push:
branches:
- master
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
push: true
tags: rogsme/bitwarden-to-keepass:latest