Skip to content

Commit 5646a19

Browse files
committed
add credentials and --push back to buildx
1 parent 383c0b1 commit 5646a19

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/openstudio-server-tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,19 +110,21 @@ jobs:
110110
docker images --all
111111
docker --version
112112
echo "Build Server"
113-
docker buildx build . --platform linux/amd64,linux/arm64 -t "nrel/openstudio-server:latest" --build-arg OPENSTUDIO_VERSION=$OPENSTUDIO_TAG
113+
docker buildx build . --platform linux/amd64,linux/arm64 -t "nrel/openstudio-server:3.9.0-test" --build-arg OPENSTUDIO_VERSION=$OPENSTUDIO_TAG --push
114114
echo "docker images:"
115115
docker images --all
116116
echo "Build RServe"
117117
cd docker/R/
118-
docker buildx build . --platform linux/amd64,linux/arm64 -t "nrel/openstudio-rserve:latest" --build-arg OPENSTUDIO_VERSION=$OPENSTUDIO_TAG
118+
docker buildx build . --platform linux/amd64,linux/arm64 -t "nrel/openstudio-rserve:3.9.0-test" --build-arg OPENSTUDIO_VERSION=$OPENSTUDIO_TAG --push
119119
echo "docker images:"
120120
docker images --all
121121
env:
122122
CI: true
123123
OS_SERVER_NUMBER_OF_WORKERS: 4
124124
BUILD_TYPE: docker
125125
COMPOSE_INTERACTIVE_NO_CLI: 1
126+
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
127+
DOCKER_USER: ${{ secrets.DOCKER_USER }}
126128
- name: docker
127129
shell: bash
128130
run: |

0 commit comments

Comments
 (0)