Skip to content

Commit 28008ea

Browse files
authored
Enable and configure Docker image publishing workflows
1 parent d95d8a9 commit 28008ea

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/nightlydockerimages.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
2626
publish-docker-linux-arm32:
2727
runs-on: ubuntu-latest
28-
if: false
28+
if: true
2929
steps:
3030
- name: Checkout code
3131
uses: actions/checkout@v4
@@ -90,20 +90,20 @@ jobs:
9090
9191
publish-docker-manifest:
9292
runs-on: ubuntu-latest
93-
if: true
94-
#needs: [ publish-docker-linux-arm64, publish-docker-linux-amd64, publish-docker-windows-amd64 ]
93+
if: false
94+
needs: [ publish-docker-linux-arm64, publish-docker-linux-amd64, publish-docker-windows-amd64 ]
9595
steps:
9696
- uses: actions/checkout@v4
9797
- name: Publish manifest
9898
run: |
9999
VERSION="$(cat ./version.txt)-nightly"
100100
docker login -u ${{ secrets.DOCKER_USERNAME }} -p '${{ secrets.DOCKER_PASSWORD }}'
101-
docker manifest create ${{ secrets.DOCKER_ORG }}/powershell:$VERSION \
101+
docker manifest create ${{ secrets.DOCKER_ORG }}/powershell:$VERSION \
102102
--amend ${{ secrets.DOCKER_ORG }}/powershell:$VERSION-linux-amd64 \
103103
--amend ${{ secrets.DOCKER_ORG }}/powershell:$VERSION-linux-arm64 \
104104
--amend ${{ secrets.DOCKER_ORG }}/powershell:$VERSION-windows-amd64
105105
docker manifest push ${{ secrets.DOCKER_ORG }}/powershell:$VERSION
106-
docker manifest create ${{ secrets.DOCKER_ORG }}/powershell:nightly \
106+
docker manifest create ${{ secrets.DOCKER_ORG }}/powershell:nightly \
107107
--amend ${{ secrets.DOCKER_ORG }}/powershell:$VERSION-linux-amd64 \
108108
--amend ${{ secrets.DOCKER_ORG }}/powershell:$VERSION-linux-arm64 \
109109
--amend ${{ secrets.DOCKER_ORG }}/powershell:$VERSION-windows-amd64

0 commit comments

Comments
 (0)