Skip to content

Commit 8015028

Browse files
authored
Merge pull request #98 from clowder-framework/update-word-count-extractor
Update wordcount docker build process
2 parents c18cffc + f50ee92 commit 8015028

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/docker.yaml

Lines changed: 5 additions & 5 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
@@ -37,7 +37,7 @@ jobs:
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

@@ -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=""
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pyclowder==3.0.2
1+
pyclowder==3.0.7

0 commit comments

Comments
 (0)