Skip to content

chore: Update .goreleaser.yaml #8

chore: Update .goreleaser.yaml

chore: Update .goreleaser.yaml #8

Workflow file for this run

name: Build And Push Docker Image
on:
push:
tags:
- v*
jobs:
build-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Docker
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract metadata for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ygxb/ttauto
tags: |
latest
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
- name: Setup Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: now=${{ steps.date.outputs.now }}
platforms: linux/amd64,linux/arm64,linux/arm/v7