Skip to content

version: 0.6.4

version: 0.6.4 #33

Workflow file for this run

name: DockerX Workflow
on:
push:
tags:
- "*"
branches-ignore:
- none
workflow_dispatch:
jobs:
fast:
name: Fast (${{ matrix.config.dockerfile }})
strategy:
fail-fast: false
matrix:
config:
- { dockerfile: "Dockerfile", context: "pushi", tag_suffix: "-amd64" }
uses: ./.github/workflows/dockerx-build.yml
with:
dockerfile: ${{ matrix.config.dockerfile }}
context: ${{ matrix.config.context }}
platforms: "linux/amd64"
tag_suffix: ${{ matrix.config.tag_suffix }}
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
full:
name: Full (${{ matrix.config.dockerfile }})
strategy:
fail-fast: false
matrix:
config:
- { dockerfile: "Dockerfile", context: "pushi", platforms: "linux/amd64,linux/arm64/v8" }
uses: ./.github/workflows/dockerx-build.yml
with:
dockerfile: ${{ matrix.config.dockerfile }}
context: ${{ matrix.config.context }}
platforms: ${{ matrix.config.platforms }}
tag_suffix: ""
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
trigger-deploy-pushi:
name: Trigger pushi deployment
needs: fast
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: hivesolutions/deploy-action@v1
with:
repository: hivesolutions/infra-bemisc
service: pushi
group: apps
tag: ${{ github.ref_name }}-amd64
token: ${{ secrets.INFRA_DEPLOY_PAT }}