diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 20613afab..1642b0ced 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,30 @@ jobs: run: | curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash + - name: Print version info + id: semver + run: | + make version + + - name: Set up Docker Buildx + id: buildx + uses: crazy-max/ghaction-docker-buildx@v1 + with: + buildx-version: latest + qemu-version: latest + + - name: Available platforms + run: echo ${{ steps.buildx.outputs.platforms }} + + - name: Build + env: + DOCKER_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + USERNAME: 1gtm + APPSCODE_ENV: prod + run: | + docker login --username ${USERNAME} --password ${DOCKER_TOKEN} + make release + - name: Clone charts repository env: GITHUB_USER: 1gtm