Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Merge pull request #1 from RunbookSolutions/staging #1

Merge pull request #1 from RunbookSolutions/staging

Merge pull request #1 from RunbookSolutions/staging #1

Workflow file for this run

name: Production
on:
push:
branches:
- 'production'
release:
types:
- created
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: |

Check failure on line 32 in .github/workflows/production.yml

View workflow run for this annotation

GitHub Actions / Production

Invalid workflow file

The workflow is not valid. .github/workflows/production.yml (Line: 32, Col: 17): Unexpected symbol: '?'. Located at position 46 within expression: github.event_name == 'release' && github.ref ? 'runbooksolutions/agent:' + github.ref : ''
runbooksolutions/agent:latest
${{ github.event_name == 'release' && github.ref ? 'runbooksolutions/agent:' + github.ref : '' }}