Skip to content

Commit f50ee92

Browse files
committed
this repo doesn't have main
1 parent 06da547 commit f50ee92

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docker.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Docker
33
# This will run when:
44
# - a new release is created, to make sure the right tags of the
55
# docker images are pushed (expects tags to be v1.8.4).
6-
# - when new code is pushed to main/develop to push the tags
6+
# - when new code is pushed to master/develop to push the tags
77
# latest and develop
88
# - when a pull request is created and updated to make sure the
99
# Dockerfile is still valid.
@@ -18,7 +18,7 @@ on:
1818

1919
pull_request:
2020

21-
# Certain actions will only run when this is the main repo.
21+
# Certain actions will only run when this is the master repo.
2222
env:
2323
MAIN_REPO: clowder-framework/pyclowder
2424
DOCKERHUB_ORG: clowder
@@ -56,7 +56,7 @@ jobs:
5656
# should we push to dockerhub, and is there a README
5757
DOCKERHUB_PUSH="false"
5858
DOCKERHUB_README="false"
59-
if [ "$BRANCH" == "main" -a "${{ github.repository }}" == "${{ env.MAIN_REPO }}" ]; then
59+
if [ "$BRANCH" == "master" -a "${{ github.repository }}" == "${{ env.MAIN_REPO }}" ]; then
6060
if [ "${{ secrets.DOCKERHUB_USERNAME }}" != "" -a "${{ secrets.DOCKERHUB_PASSWORD }}" != "" ]; then
6161
DOCKERHUB_PUSH="true"
6262
if [ -e "${{ matrix.FOLDER }}/README.md" ]; then
@@ -66,7 +66,7 @@ jobs:
6666
fi
6767
6868
# calculate the version and all tags
69-
if [ "$BRANCH" == "main" ]; then
69+
if [ "$BRANCH" == "master" ]; then
7070
VERSION="$(awk '/"version":/ { print $2 }' ${{ matrix.FOLDER }}/extractor_info.json | sed 's/^.*"\([0-9\.]*\)".*$/\1/')"
7171
tags="latest"
7272
oldversion=""

0 commit comments

Comments
 (0)