Skip to content

chore(deps): update homebrew/actions digest to ddd69f8 #381

chore(deps): update homebrew/actions digest to ddd69f8

chore(deps): update homebrew/actions digest to ddd69f8 #381

Workflow file for this run

name: docker
on: push
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
image: tonistiigi/binfmt:latest
platforms: arm64,arm
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: 'chenrui'
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GH_REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
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 }}