Skip to content

chore(deps): bump tailwind-variants from 0.1.20 to 0.2.0 in /frontend… #95

chore(deps): bump tailwind-variants from 0.1.20 to 0.2.0 in /frontend…

chore(deps): bump tailwind-variants from 0.1.20 to 0.2.0 in /frontend… #95

Workflow file for this run

name: Docker Build and Push
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
env:
GIT_SHA: ${GITHUB_SHA::5}
permissions:
contents: write
packages: write
security-events: write
steps:
- name: Docker Setup QEMU
uses: docker/setup-qemu-action@v3
id: qemu
with:
platforms: amd64,arm64
- name: Log into ghcr.io registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: set lower case owner name
run: |
echo "GITHUB_OWNER_LC=${OWNER,,}" >>${GITHUB_ENV}
env:
OWNER: '${{ github.repository_owner }}'
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Get short SHA for github commits
id: slug
run: echo "GIT_SHA5=$(echo ${GITHUB_SHA} | cut -c1-5)" >> "$GITHUB_OUTPUT"
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
# context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: |
ghcr.io/${{ env.GITHUB_OWNER_LC }}/${{ github.event.repository.name }}:latest
ghcr.io/${{ env.GITHUB_OWNER_LC }}/${{ github.event.repository.name }}:${{ steps.slug.outputs.GIT_SHA5 }}
docker.io/spoked/iceberg:latest
docker.io/spoked/iceberg:${{ steps.slug.outputs.GIT_SHA5 }}