Skip to content

upgrade to alpine 3.20 #12

upgrade to alpine 3.20

upgrade to alpine 3.20 #12

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