Skip to content

Commit 3e54cfd

Browse files
committed
chore: fix docker ci
1 parent 8e9d881 commit 3e54cfd

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.github/workflows/build-docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
if: steps.dockerhub.outputs.dockerhub-publish == '1' || steps.check-ghcr.outputs.enable == 'true'
5353
id: check-build-and-push
5454
env:
55-
SECRET_ACCESS: ${{ secrets.DOCKERHUB_USERNAME }}
55+
SECRET_ACCESS: ${{ secrets.DOCKERHUB_USERNAME || secrets.GHCR_ENABLED }}
5656
run: |
5757
echo "Enable build and push: ${{ env.SECRET_ACCESS != '' }}"
5858
echo "enable=${{ env.SECRET_ACCESS != '' }}" >> $GITHUB_OUTPUT

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ WORKDIR /src
88

99
COPY package.json tsconfig.json yarn.lock lerna.json .yarnrc.yml ./
1010
COPY scripts ./scripts
11-
COPY .yarn ./.yarn
11+
# COPY .yarn ./.yarn
1212

1313
# Pakcages
1414
COPY packages ./packages

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,5 @@
6565
"zip-a-folder": "^3.1.6"
6666
},
6767
"prettier": "@sofie-automation/code-standard-preset/.prettierrc.json",
68-
"packageManager": "[email protected]",
69-
"dependencies": {
70-
"@yao-pkg/pkg": "^6.5.1"
71-
}
68+
"packageManager": "[email protected]"
7269
}

0 commit comments

Comments
 (0)