We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6733118 commit 4514ff8Copy full SHA for 4514ff8
.circleci/config.yml
@@ -122,8 +122,20 @@ jobs:
122
- run:
123
name: Docker Sign In
124
command: echo $DOCKER_PWD | docker login -u $DOCKER_USER --password-stdin
125
+ - run:
126
+ name: Create Dockerfile
127
+ command: |
128
+ cat > Dockerfile <<EOF
129
+ FROM busybox:1.28.1
130
+ WORKDIR /codesandbox
131
+ COPY www /codesandbox
132
+ EOF
133
134
+ name: Create Image
135
+ command: docker build -t codesandbox/client:$CIRCLE_SHA1 .
136
- deploy:
- command: sh ./create-docker.sh
137
+ name: Push Image
138
+ command: docker push codesandbox/client:$CIRCLE_SHA1
139
140
workflows:
141
version: 2
create-docker.sh
0 commit comments