Skip to content

Commit

Permalink
Github action for docker hub DEV
Browse files Browse the repository at this point in the history
Fix for dockerfile location
Another version of dockerfile location
Securing deploy action
Combine ifs
Secured to user
  • Loading branch information
sushiat committed Oct 31, 2023
1 parent 8154b9b commit 2f62ff3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: [workflow_dispatch]

jobs:
push_to_registry:
if: contains(fromJson('["sushiat"]'), github.actor) && github.ref_name == github.event.repository.default_branch
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
Expand All @@ -21,6 +22,6 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
file: ./OpenSky.Website/Dockerfile
push: true
tags: openskyto/openskywebsite:dev

0 comments on commit 2f62ff3

Please sign in to comment.