cleaned up code
This commit is contained in:
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@@ -149,6 +149,13 @@ jobs:
|
|||||||
echo "Windows binary:"
|
echo "Windows binary:"
|
||||||
ls -la windows-bin/
|
ls -la windows-bin/
|
||||||
|
|
||||||
|
- name: Login to Docker Registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: ${{ env.REGISTRY }}
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Linux build using Docker Buildx
|
- name: Linux build using Docker Buildx
|
||||||
run: |
|
run: |
|
||||||
docker buildx create --use
|
docker buildx create --use
|
||||||
@@ -159,13 +166,6 @@ jobs:
|
|||||||
--load \
|
--load \
|
||||||
-t ${{ env.IMAGE_NAME }}:linux-${{ env.TAG }} .
|
-t ${{ env.IMAGE_NAME }}:linux-${{ env.TAG }} .
|
||||||
|
|
||||||
- name: Login to Docker Registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: ${{ env.REGISTRY }}
|
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
||||||
|
|
||||||
- name: Tag and Push Linux Docker image
|
- name: Tag and Push Linux Docker image
|
||||||
if: ${{ success() }}
|
if: ${{ success() }}
|
||||||
run: |
|
run: |
|
||||||
|
Reference in New Issue
Block a user