Skip to content

Commit c2e0d62

Browse files
committed
Re-enable actual build/push
1 parent 4105832 commit c2e0d62

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

.github/workflows/main.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -124,31 +124,31 @@ jobs:
124124
echo "::set-output name=push::$PUSH"
125125
echo "::set-output name=version::$(echo $GITHUB_REF | awk -F '/' '{ print $3}')"
126126
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 }}
150150
151-
# tags: ${{ steps.nrVersion.outputs.tags }}
151+
tags: ${{ steps.nrVersion.outputs.tags }}
152152

153153
# -
154154
# name: Sign Image

0 commit comments

Comments
 (0)