Skip to content

Commit c92f420

Browse files
committed
debug
1 parent 481a27a commit c92f420

File tree

2 files changed

+13
-105
lines changed

2 files changed

+13
-105
lines changed

.github/workflows/release-docker.yml

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -23,33 +23,22 @@ jobs:
2323
- name: Checkout repository
2424
uses: actions/checkout@v4
2525

26-
- name: Set up Docker Buildx
27-
uses: docker/setup-buildx-action@v3
28-
2926
- name: Login to Docker Hub
3027
uses: docker/login-action@v3
3128
with:
3229
username: ${{ secrets.DOCKERHUB_USERNAME }}
3330
password: ${{ secrets.DOCKERHUB_TOKEN }}
3431

35-
- name: Extract metadata for Docker
36-
id: meta
37-
uses: docker/metadata-action@v5
38-
with:
39-
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
40-
tags: |
41-
type=semver,pattern={{version}}
42-
type=semver,pattern={{major}}.{{minor}}
43-
type=ref,event=branch
44-
type=sha
45-
46-
- name: Build and Push Docker Image
47-
uses: docker/build-push-action@v5
48-
with:
49-
context: .
50-
file: docker/Dockerfile
51-
push: true
52-
tags: ${{ steps.meta.outputs.tags }}
53-
labels: ${{ steps.meta.outputs.labels }}
54-
cache-from: type=gha
55-
cache-to: type=gha,mode=max
32+
33+
34+
- name: Build and Push
35+
run: |
36+
TAG=${{ steps.get-latest-tag.outputs.tag }}
37+
echo $TAG
38+
echo REF = ${{ github.ref_name }}
39+
TAG=$REF
40+
echo $TAG
41+
docker build . -f docker/Dockerfile -t ${REGISTRY}/${IMAGE_NAME}:${TAG}
42+
docker push panpanpeter/stable-diffusion-webui:${TAG}
43+
44+

.github/workflows/run_tests.yaml

Lines changed: 0 additions & 81 deletions
This file was deleted.

0 commit comments

Comments
 (0)