Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Stable Diffusion WebUI in Docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Grewe
Stable Diffusion WebUI in Docker
Commits
cc740b68
Commit
cc740b68
authored
Sep 20, 2023
by
Jan Grewe
Browse files
Options
Downloads
Patches
Plain Diff
SD 1.6.0
parent
d8fb78b9
No related branches found
No related tags found
No related merge requests found
Pipeline
#902
passed
Sep 20, 2023
Stage: build
Stage: push
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
README.md
+1
-1
1 addition, 1 deletion
README.md
with
4 additions
and
4 deletions
.gitlab-ci.yml
+
2
−
2
View file @
cc740b68
---
### SET IN CI VARIABLES
# variables:
# VERSION: "1.
0
.0"
# VERSION: "1.
6
.0"
# IMAGE_NAME: "registry.example.com/stable-diffusion-webui"
stages
:
...
...
@@ -11,7 +11,7 @@ stages:
build_image
:
stage
:
build
script
:
-
docker build --build-arg VERSION=${VERSION} -t ${IMAGE_NAME}:${VERSION} .
-
docker build
--progress plain
--build-arg VERSION=${VERSION} -t ${IMAGE_NAME}:${VERSION} .
push_image
:
stage
:
push
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
1
−
1
View file @
cc740b68
FROM
nvidia/cuda:11.8.0-base-ubuntu22.04
ARG
VERSION
ENV
VERSION=1.
5.1
ENV
VERSION=1.
6.0
ENV
DEBIAN_FRONTEND=noninteractive
RUN
apt-get
-qq
update
-y
\
...
...
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
cc740b68
...
...
@@ -5,7 +5,7 @@ This builds a Docker image containing the Stable Diffusion WebUI by AUTOMATIC111
## Build the image (and optionally push it to your registry)
Set the version and image name to use:
```
export VERSION="1.
5.1
"
export VERSION="1.
x.y
"
export IMAGE_NAME=registry.example.com/stable-diffusion-webui
```
Build the image and also add the
`latest`
tag:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment