Skip to content

Commit

Permalink
should still fail?
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Seitz committed Aug 2, 2023
1 parent 173ecc6 commit eebc03e
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
name: Update docker image

on:
workflow_dispatch: # Trigger by hand from the UI
workflow_dispatch: # Trigger by hand from the UI
inputs:
branch:
type: choice
description: branch to build the container from
options:
- develop
- master
push:
branches:
- develop
Expand All @@ -14,10 +21,14 @@ jobs:
env:
docker_username: precice
steps:
- name: Get branch name
- name: Set branch name for manual triggering
if: github.event_name != 'pull_request'
shell: bash
run: echo "branch=$(echo ${GITHUB_REF#refs/heads/} | tr / -)" >> $GITHUB_ENV
run: echo "branch=${{ inputs.branch }}" >> $GITHUB_ENV
- name: Set branch name for manual triggering
if: github.event_name != 'pull_request'
shell: bash
run: echo "branch=${{ github.ref_name }}" >> $GITHUB_ENV
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
Expand Down

0 comments on commit eebc03e

Please sign in to comment.