Skip to content

cd

cd #27

Workflow file for this run

name: cd
on:
workflow_run:
workflows: ["ci"]
branches-ignore: [main]
types:
- completed
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
permissions:
contents: read
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
GITHUB_TOKEN: "${{ secrets.GH_TOKEN }}"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
fetch-depth: 0
- name: ci/setup-buildx
uses: docker/setup-buildx-action@15c905b16b06416d2086efa066dd8e3a35cc7f98 # v2.4.0
with:
version: v0.7.1
- name: cd/docker-push
run: make push-image