Skip to content

Commit

Permalink
Update github actions that build docker iamges
Browse files Browse the repository at this point in the history
  • Loading branch information
chaifeng committed Jan 13, 2025
1 parent 8f93353 commit 5908cde
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ci
name: Build Images

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

- name: Set up QEMU
Expand All @@ -31,4 +32,4 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
platforms: linux/amd64,linux/arm64/v8
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 5908cde

Please sign in to comment.