Skip to content

v0.0.34

v0.0.34 #38

Workflow file for this run

name: Build and Push Docker Image on Release
on:
release:
types: [published]
env:
RELEASE_VERSION: ${{ github.event.release.tag_name }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
IMAGE_NAME: frontman
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ env.DOCKER_USERNAME }}
password: ${{ env.DOCKER_PASSWORD }}
- name: Build Docker Image
run: |
docker build -t $IMAGE_NAME .
docker tag $IMAGE_NAME $DOCKER_USERNAME/$IMAGE_NAME:${{ env.RELEASE_VERSION }}
docker tag $IMAGE_NAME $DOCKER_USERNAME/$IMAGE_NAME:latest
- name: Push Docker Image
run: |
docker push $DOCKER_USERNAME/$IMAGE_NAME:${{ env.RELEASE_VERSION }}
docker push $DOCKER_USERNAME/$IMAGE_NAME:latest
build-chart:
needs: build-and-push
uses: frontman-labs/frontman-helm-chart/.github/workflows/build-chart.yml@main

Check failure on line 39 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yml" -> "frontman-labs/frontman-helm-chart/.github/workflows/build-chart.yml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
with:
image: "hyperioxx/frontman:${{ github.event.release.tag_name }}"
version: "${{ github.event.release.tag_name }}"
secrets: inherit