This is an automated email from the ASF dual-hosted git repository.
weizhouapache pushed a commit to branch 4.22.1.0-backport-docker-fix
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.22.1.0-backport-docker-fix
by this push:
new b3b0d92d37d Update github action for docker image build
b3b0d92d37d is described below
commit b3b0d92d37d0977375f0f8ce978790fbeadc5c3e
Author: Wei Zhou <[email protected]>
AuthorDate: Fri Jul 31 10:32:00 2026 +0200
Update github action for docker image build
---
.github/workflows/docker-cloudstack-simulator.yml | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/docker-cloudstack-simulator.yml
b/.github/workflows/docker-cloudstack-simulator.yml
index f568e6f40b6..f4dfe2fe1ee 100644
--- a/.github/workflows/docker-cloudstack-simulator.yml
+++ b/.github/workflows/docker-cloudstack-simulator.yml
@@ -36,10 +36,10 @@ concurrency:
jobs:
build:
if: github.repository == 'apache/cloudstack'
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-24.04
steps:
- name: Login to Docker Registry
- uses: docker/login-action@v2
+ uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee #
v4.2.0
with:
registry: ${{ secrets.DOCKER_REGISTRY }}
username: ${{ secrets.DOCKERHUB_USER }}
@@ -48,7 +48,9 @@ jobs:
- name: Set Docker repository name
run: echo "DOCKER_REPOSITORY=apache" >> $GITHUB_ENV
- - uses: actions/checkout@v5
+ - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 #
v6.0.3
+ with:
+ persist-credentials: false
- name: Set ACS version
run: echo "ACS_VERSION=$(grep '<version>' pom.xml | head -2 | tail -1
| cut -d'>' -f2 |cut -d'<' -f1)" >> $GITHUB_ENV