@@ -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.
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.
2222env :
2323 MAIN_REPO : clowder-framework/pyclowder
2424 DOCKERHUB_ORG : clowder
3737 include :
3838 - name : wordcount
3939 FOLDER : sample-extractors/wordcount
40- PLATFORM : " linux/amd64,linux/arm64 "
40+ PLATFORM : " linux/amd64"
4141 steps :
4242 - uses : actions/checkout@v2
4343
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
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