Update github actions that build docker iamges

This commit is contained in:
Chai Feng 2025-01-13 11:24:08 +08:00
parent 8f9335326f
commit 5908cde296
No known key found for this signature in database
GPG key ID: 2DCD9A24E523FFD2

View file

@ -1,4 +1,4 @@
name: ci name: Build Images
on: on:
push: push:
@ -7,10 +7,11 @@ jobs:
docker: docker:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Login to Docker Hub - name: Log into DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
username: ${{ vars.DOCKERHUB_USERNAME }} username: ${{ github.actor }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up QEMU - name: Set up QEMU