Skip to content

Ruby 3.3.7

Ruby 3.3.7 #2

Workflow file for this run

name: Docker Build
on:
push:
branches:
- master
paths:
- Dockerfile
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
docker-build:
runs-on: ubuntu-latest
if: github.repository_owner == 'earlopain'
steps:
- 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: ${{ github.token }}
- name: Generate Docker tags
uses: docker/metadata-action@v5
id: metadata
with:
images: ghcr.io/${{ github.repository }}
tags: |
ruby-amalgam
flavor: |
latest=true
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
push: true
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max