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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / ProductionInvalid workflow file
|
||
runbooksolutions/agent:latest | ||
${{ github.event_name == 'release' && github.ref ? 'runbooksolutions/agent:' + github.ref : '' }} |