Skip to content

added support for age encryption for automatic encryption against ssh… #13

added support for age encryption for automatic encryption against ssh…

added support for age encryption for automatic encryption against ssh… #13

Workflow file for this run

name: Publish Docker image
on:
release:
types: [published]
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login to DockerHub Registry
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
- name: Build the Docker image
run: docker build . --file docker/Dockerfile --tag hascheksolutions/backupdrop:$(date +%s) --tag hascheksolutions/backupdrop:latest
- name: Push the Docker image to the registry
run: docker push hascheksolutions/backupdrop