@@ -24,13 +24,13 @@ jobs:
2424 - platform : linux/amd64
2525 os : ubuntu-latest
2626 use-buildx : true
27- base : 3.15.4
27+ # base: 3.15.4
2828 file : linux/Dockerfile
2929 tag-suffix : -linux-amd64
3030 - platform : linux/arm64/8
3131 os : ubuntu-latest
3232 use-buildx : true
33- base : 3.15.4
33+ # base: 3.15.4
3434 file : linux/Dockerfile
3535 tag-suffix : -linux-arm64-8
3636 - platform : windows/amd64
4141 # Related: https://github.com/docker/buildx/issues/176
4242 # Related: https://github.com/docker/build-push-action/issues/18
4343 use-buildx : false
44- base : ltsc2022
44+ # base: ltsc2022
4545 file : windows/Dockerfile
4646 tag-suffix : -windows-amd64
4747 steps :
5353 - name : Set release version
5454 if : ${{ matrix.use-buildx == false }}
5555 run : |
56- echo "RELEASE_VERSION=$(echo '${{ github.event.inputs.version }}' | sed -e s/^v//)"" | Out-File -FilePath $env:GITHUB_ENV -Append
57- # echo "RELEASE_VERSION=$(echo '${{ github.event.release.tag_name }}' | sed -e s/^v//)"" | Out-File -FilePath $env:GITHUB_ENV -Append
56+ echo "RELEASE_VERSION=$(echo '${{ github.event.inputs.version }}' | sed -e s/^v//)" | Out-File -FilePath $env:GITHUB_ENV -Append
57+ # echo "RELEASE_VERSION=$(echo '${{ github.event.release.tag_name }}' | sed -e s/^v//)" | Out-File -FilePath $env:GITHUB_ENV -Append
5858 - name : Debug
5959 if : ${{ matrix.use-buildx == false }}
6060 run : |
@@ -78,15 +78,16 @@ jobs:
7878 with :
7979 context : .
8080 file : ${{ matrix.file }}
81- build-args : |
82- BASE=${{ matrix.base }}
81+ # build-args: |
82+ # BASE=${{ matrix.base }}
8383 platforms : ${{ matrix.platform }}
8484 push : true
8585 tags : gesellix/echo-server:${{ env.RELEASE_VERSION }}${{ matrix.tag-suffix }}
8686 - name : Docker Build
8787 if : ${{ matrix.use-buildx == false }}
8888 run : |
89- docker build -f ${{ matrix.file }} --build-arg BASE=${{ matrix.base }} -t gesellix/echo-server:${{ env.RELEASE_VERSION }}${{ matrix.tag-suffix }} .
89+ docker build -f ${{ matrix.file }} -t gesellix/echo-server:${{ env.RELEASE_VERSION }}${{ matrix.tag-suffix }} .
90+ # docker build -f ${{ matrix.file }} --build-arg BASE=${{ matrix.base }} -t gesellix/echo-server:${{ env.RELEASE_VERSION }}${{ matrix.tag-suffix }} .
9091 - name : Docker Push
9192 if : ${{ matrix.use-buildx == false }}
9293 run : |
0 commit comments