Skip to content

fix: use amd64

fix: use amd64 #17

Workflow file for this run

---
name: 'build images'
on:
push:
jobs:
docker:
runs-on: ubuntu-22
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare
id: prep
run: |
DOCKER_IMAGE=docker.io/kainlite/tr-gh
SHORTREF=${GITHUB_SHA::8}
TAG="${DOCKER_IMAGE}:${SHORTREF}"
echo tag=${TAG} >> ${GITHUB_OUTPUT}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ steps.prep.outputs.tag }}