Skip to content

Fixed github actions to generate tar.gz package (#98) #41

Fixed github actions to generate tar.gz package (#98)

Fixed github actions to generate tar.gz package (#98) #41

Workflow file for this run

name: Docker
on:
push:
tags:
- v*
jobs:
build-container:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Docker login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set env
run: |
echo "DOCKER_TAG=$(echo $GITHUB_REF_NAME | cut -c 2-)" >> $GITHUB_ENV
- name: Build and push
run: |
echo ${{ env.DOCKER_TAG }}
make VERSION=${{ env.DOCKER_TAG }} release-docker-multi-arch