@@ -124,31 +124,31 @@ jobs:
124
124
echo "::set-output name=push::$PUSH"
125
125
echo "::set-output name=version::$(echo $GITHUB_REF | awk -F '/' '{ print $3}')"
126
126
echo "::set-output name=buildVersion::$VERSION"
127
- # -
128
- # name: Login to DockerHub
129
- # uses: docker/login-action@v1
130
- # with:
131
- # username: ${{ secrets.DOCKERHUB_USERNAME }}
132
- # password: ${{ secrets.DOCKERHUB_TOKEN }}
133
- # -
134
- # name: Build and push
135
- # id: build-push
136
- # uses: docker/build-push-action@v2
137
- # continue-on-error: true
138
- # with:
139
- # context: .
140
- # platforms: linux/amd64, linux/arm64, linux/s390x, linux/arm/v7, linux/arm/v6
141
- # push: ${{ steps.nrVersion.outputs.push }}
142
- # file: .docker/Dockerfile.alpine
143
- # build-args: |
144
- # NODE_VERSION=${{ matrix.node }}
145
- # BUILD_DATE=${{ steps.date.outputs.date }}
146
- # BUILD_VERSION=${{ steps.nrVersion.outputs.buildVersion }}
147
- # BUILD_REF=${{ env.GITHUB_SHA }}
148
- # NODE_RED_VERSION=${{ steps.nrVersion.outputs.version }}
149
- # TAG_SUFFIX=${{ matrix.suffix }}
127
+ -
128
+ name : Login to DockerHub
129
+ uses : docker/login-action@v1
130
+ with :
131
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
132
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
133
+ -
134
+ name : Build and push
135
+ id : build-push
136
+ uses : docker/build-push-action@v2
137
+ continue-on-error : true
138
+ with :
139
+ context : .
140
+ platforms : linux/amd64, linux/arm64, linux/s390x, linux/arm/v7, linux/arm/v6
141
+ push : ${{ steps.nrVersion.outputs.push }}
142
+ file : .docker/Dockerfile.alpine
143
+ build-args : |
144
+ NODE_VERSION=${{ matrix.node }}
145
+ BUILD_DATE=${{ steps.date.outputs.date }}
146
+ BUILD_VERSION=${{ steps.nrVersion.outputs.buildVersion }}
147
+ BUILD_REF=${{ env.GITHUB_SHA }}
148
+ NODE_RED_VERSION=${{ steps.nrVersion.outputs.version }}
149
+ TAG_SUFFIX=${{ matrix.suffix }}
150
150
151
- # tags: ${{ steps.nrVersion.outputs.tags }}
151
+ tags : ${{ steps.nrVersion.outputs.tags }}
152
152
153
153
# -
154
154
# name: Sign Image
0 commit comments