1
0
mirror of https://github.com/xzeldon/vwdump.git synced 2025-06-27 23:08:14 +03:00

Update dockerize.yml

This commit is contained in:
jmqm 2021-08-09 13:06:03 -05:00 committed by GitHub
parent ed04e40550
commit 5c7d39b775
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,8 @@
name: Dockerize
# When to run.
# In this case, whenever something is pushed to the 'main' branch.
# In this case, manual only.
on:
push:
branches: [ main ]
# Allows this action to be run manually.
workflow_dispatch:
# Instructions on what to do.
@ -16,19 +12,28 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Check out repo.
uses: actions/checkout@v2.3.4
- name: Log in to Docker Hub
uses: docker/login-action@v1
- name: Log in to Docker Hub.
uses: docker/login-action@v1.10.0
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Update README and description.
uses: peter-evans/dockerhub-description@v2.4.3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
repository: jmqm/vaultwarden_backup
short-description: ${{ github.event.repository.description }}
readme-filepath: ./README.md
- name: Build and push
- name: Build image and push to Docker hub.
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v2.6.1
with:
context: .
push: true
tags: jmqm/vaultwarden_backup:latest
tags: latest