Skip to content

v0.6.96

v0.6.96 #1

Workflow file for this run

# This is a workflow to publish the python application to the kubernetes.
name: akash-build
# Controls when the workflow will run
on:
release:
types: [released]
workflow_dispatch:
jobs:
docker-build-push:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
push: true
tags: ${{ secrets.DOCKERHUB_ORGANIZATION }}/${{ secrets.DOCKERHUB_REPOSITORY }}:${{ env.RELEASE_VERSION }}