Skip to content

Install libtinfo5 (#11) #2

Install libtinfo5 (#11)

Install libtinfo5 (#11) #2

Workflow file for this run

name: ci
on:
push:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup tag
run: |
echo "repo_downcase=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
echo "image_tag=${GITHUB_SHA:0:7}" >>${GITHUB_ENV}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64
push: true
tags: |
ghcr.io/${{ env.repo_downcase }}:${{ env.image_tag }}
${{ github.ref == 'refs/heads/master' && format('ghcr.io/{0}:{1}', env.repo_downcase, 'latest') || '' }}