Skip to content

Commit 8228374

Browse files
committed
update docker.yml
1 parent 0798a0a commit 8228374

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/docker.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
release:
44
types: [published]
55
jobs:
6-
build:
6+
Docker-Buildx:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout
@@ -15,13 +15,21 @@ jobs:
1515
password: ${{ secrets.DOCKER_PASSWORD }}
1616
- name: Set up Docker Buildx
1717
uses: docker/setup-buildx-action@v3
18-
- name: Build variables
18+
- name: BuildImage, BuildPlatform & BuildVersion
1919
run: |
2020
echo "BUILD_IMAGE=nixielectra/nginx-proxy-manager" >> $GITHUB_ENV
2121
echo "BUILD_PLATFORM=linux/amd64,linux/arm64" >> $GITHUB_ENV
2222
echo "BUILD_VERSION=$(cat .version)" >> $GITHUB_ENV
23+
- name: BuildTag
24+
run: |
2325
echo "BUILD_TAG=-t ${BUILD_IMAGE}:${BUILD_VERSION} -t ${BUILD_IMAGE}:latest" >> $GITHUB_ENV
24-
- name: Buildx
26+
- name: Build variables
27+
run: |
28+
echo "BUILD_IMAGE=$BUILD_IMAGE"
29+
echo "BUILD_PLATFORM=$BUILD_PLATFORM"
30+
echo "BUILD_VERSION=$BUILD_VERSION"
31+
echo "BUILD_TAG=$BUILD_TAG"
32+
- name: Buildx Dockerfile
2533
run: |
2634
chmod -R 755 scripts
2735
./scripts/buildx-nixie

0 commit comments

Comments
 (0)