Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenwacker authored Jul 29, 2024
1 parent dd3c214 commit 5c9654c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,22 @@ name: Docker Image CI
on:
release:
types: [published]

jobs:
workflow_dispatch: # This enables manual triggering of the workflow

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Docker Build Context
run: |
echo "Branch: ${{ github.ref }}"
if [[ ${{ github.ref }} == 'refs/heads/develop' ]]; then
echo "This is the develop branch."
else
echo "This is not the develop branch."
fi
- name: docker login
env:
DOCKER_USER: ${{secrets.DOCKER_USER}}
Expand Down

0 comments on commit 5c9654c

Please sign in to comment.