Skip to content

chore(deps): update homebrew/actions digest to dd515a5 (#220) #441

chore(deps): update homebrew/actions digest to dd515a5 (#220)

chore(deps): update homebrew/actions digest to dd515a5 (#220) #441

Workflow file for this run

name: docker
on: push
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
image: tonistiigi/binfmt:latest
platforms: arm64,arm
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: 'chenrui'
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: |
chenrui/github-action-test:latest
chenrui/github-action-test:${{ github.sha }}
ghcr.io/chenrui333/github-action-test:latest
ghcr.io/chenrui333/github-action-test:${{ github.sha }}