Skip to content

Fix in 'mbedtls 3.6.0 ver' compilation failure issue #111

Fix in 'mbedtls 3.6.0 ver' compilation failure issue

Fix in 'mbedtls 3.6.0 ver' compilation failure issue #111

Workflow file for this run

name: build
on:
push:
push:
branches:
- master
tags:
- v*
- latest
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
submodules: true
- uses: docker/[email protected]
- uses: docker/[email protected]
- uses: docker/[email protected]
with:
password: ${{ secrets.DOCKER_PASSWORD }}
username: ${{ secrets.DOCKER_USERNAME }}
- name: check and set image version
id: prepare
run: |
case ${{ github.ref }} in
refs/heads/master)
echo ::set-output name=version::edge
echo ::set-output name=push::true
;;
refs/tags/*)
echo ::set-output name=version::$(echo ${{ github.ref }} | sed -E 's|refs/tags/||')
echo ::set-output name=push::true
;;
*)
echo ::set-output name=version::${{ github.sha }}
echo ::set-output name=push::false
;;
esac;
- name: build & push image
uses: docker/[email protected]
with:
context: .
file: docker/alpine/Dockerfile
platforms: linux/amd64,linux/arm64
push: ${{ steps.prepare.outputs.push }}
tags: ${{ github.repository }}:${{ steps.prepare.outputs.version }}