Skip to content

Bump version to 1.0.157. #179

Bump version to 1.0.157.

Bump version to 1.0.157. #179

Workflow file for this run

---
name: Build SSM Cloud Frontend
on:
push:
tags:
- "*"
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get version
id: versionnum
run: echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: mrhid6/ssmcloud:latest , mrhid6/ssmcloud:v${{ steps.versionnum.outputs.version }}
deploy:
needs:
- build-linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get version
id: versionnum
run: echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT
- name: Create and deploy release
uses: OctopusDeploy/create-release-action@v3
with:
api_key: ${{ secrets.OCTOPUSSERVERAPIKEY }}
server: ${{ secrets.OCTOPUSSERVERURL }}
space: ${{ secrets.OCTOPUSSERVER_SPACE }}
project: ssmcloud-frontend
release_number: ${{ steps.versionnum.outputs.version }}
deploy_to: Dev
progress: false
ignore_existing: true
- name: Deploy Release
uses: OctopusDeploy/deploy-release-action@v3
with:
api_key: ${{ secrets.OCTOPUSSERVERAPIKEY }}
server: ${{ secrets.OCTOPUSSERVERURL }}
space: ${{ secrets.OCTOPUSSERVER_SPACE }}
project: "ssmcloud-frontend"
release_number: ${{ steps.versionnum.outputs.version }}
environments: |
Dev