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:
parent
ed04e40550
commit
5c7d39b775
29
.github/workflows/dockerize.yml
vendored
29
.github/workflows/dockerize.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user