Explorar el Código

add debug code

Yuki Takei hace 6 años
padre
commit
314af2cd52
Se han modificado 3 ficheros con 15 adiciones y 2 borrados
  1. 10 2
      .github/workflows/build-rc.yml
  2. 3 0
      bin/github-actions/docker-images.sh
  3. 2 0
      docker/Dockerfile.dummy

+ 10 - 2
.github/workflows/build-rc.yml

@@ -3,6 +3,7 @@ name: Release Docker Images for RC
 on:
   push:
     branches:
+      # FIXME: debug code
       # - rc/*
       - support/github-actions
 
@@ -22,8 +23,12 @@ jobs:
       run: |
         docker buildx build \
           --platform linux/amd64 \
-          --output "type=image,name=growi,push=false" \
-          --file ./docker/Dockerfile .
+          --output "type=image,push=false" \
+          # FIXME: debug code
+          # --file ./docker/Dockerfile .
+          --file ./docker/Dockerfile.dummy .
+        # FIXME: debug code
+        sh /bin/github-actions/docker-images.sh
 
     - name: Login to docker.io registry
       run: |
@@ -34,6 +39,9 @@ jobs:
         semver=`npm run version --silent`
         echo ::set-env name=SEMVER::$(echo $semver)
 
+        # FIXME: debug code
+        sh /bin/github-actions/docker-images.sh
+
     - name: Docker Tags by SemVer
       uses: weseek/ghaction-docker-tags-by-semver@v1
       with:

+ 3 - 0
bin/github-actions/docker-images.sh

@@ -0,0 +1,3 @@
+#!/bin/sh
+
+docker images

+ 2 - 0
docker/Dockerfile.dummy

@@ -0,0 +1,2 @@
+FROM node:12-slim
+LABEL maintainer Yuki Takei <yuki@weseek.co.jp>