mirror of
https://github.com/xzeldon/vwdump.git
synced 2025-06-28 08:58:15 +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
|
name: Dockerize
|
||||||
|
|
||||||
# When to run.
|
# When to run.
|
||||||
# In this case, whenever something is pushed to the 'main' branch.
|
# In this case, manual only.
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches: [ main ]
|
|
||||||
|
|
||||||
# Allows this action to be run manually.
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
# Instructions on what to do.
|
# Instructions on what to do.
|
||||||
@ -16,19 +12,28 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repo
|
- name: Check out repo.
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2.3.4
|
||||||
|
|
||||||
- name: Log in to Docker Hub
|
- name: Log in to Docker Hub.
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1.10.0
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push
|
- 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 image and push to Docker hub.
|
||||||
id: docker_build
|
id: docker_build
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2.6.1
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: jmqm/vaultwarden_backup:latest
|
tags: latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user