Update docker.io/vaultwarden/server Docker tag to v1.29.1 #62
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Blog Image | |
on: | |
push: | |
paths: | |
- 'blog/**' | |
jobs: | |
buildAndPush: | |
name: Build And Push docker images | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.CR_PAT }} | |
- name: Blog | |
id: docker_build | |
uses: docker/build-push-action@v3 | |
with: | |
context: blog | |
file: blog/Dockerfile | |
push: true | |
tags: ghcr.io/erebe/blog:latest | |
- name: Blog Image digest | |
run: echo Blog ${{ steps.docker_build.outputs.digest }} | |
- name: Trigger deployer | |
run: | | |
payload='{ "application_name": "blog", "image_digest": "${{ steps.docker_build.outputs.digest }}", "image_tag": "latest" }' | |
token='X-Webhook-Token: ${{ secrets.WEBHOOK_SECRET }}' | |
curl -X POST -H 'Content-Type: application/json' -H "${token}" -d "${payload}" https://hooks.erebe.eu/hooks/deploy |