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

Commit

Permalink
Merge pull request #2 from RunbookSolutions/staging
Browse files Browse the repository at this point in the history
Fix github action
  • Loading branch information
sniper7kills authored Nov 27, 2023
2 parents 6ac81d3 + dde80f4 commit 67ceb2b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: |
runbooksolutions/agent:latest
${{ github.event_name == 'release' && github.ref ? 'runbooksolutions/agent:' + github.ref : '' }}
name: Build and push latest
if: github.event_name == 'push'
run: docker/build-push-action@v5 --push --tag runbooksolutions/agent:latest .
-
name: Build and push tag
if: github.event_name == 'release' && github.ref
run: docker/build-push-action@v5 --push --tag runbooksolutions/agent:${{ github.event.release.tag_name }} .

0 comments on commit 67ceb2b

Please sign in to comment.