Skip to content

chore(deps): bump h2 from 0.3.24 to 0.3.26 (#12) #38

chore(deps): bump h2 from 0.3.24 to 0.3.26 (#12)

chore(deps): bump h2 from 0.3.24 to 0.3.26 (#12) #38

Workflow file for this run

name: Build docker image
on:
push:
branches:
- main
tags:
- v*
paths-ignore:
- ./k8s
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up QEMU (to support platforms)
uses: docker/setup-qemu-action@v1
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: |
ghcr.io/unleash/blackjack-dealer-rs
tags: |
type=ref,event=tag
type=edge,enable=true,priority=700,prefix=,suffix=,branch=main
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
- name: Set up Docker buildx
uses: docker/setup-buildx-action@v1
- name: Login to ghcr
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha
platforms: linux/amd64,linux/arm64