Skip to content

feat: migrate to Ruby 3.3 w/ GitHub Actions automation (#11) #1

feat: migrate to Ruby 3.3 w/ GitHub Actions automation (#11)

feat: migrate to Ruby 3.3 w/ GitHub Actions automation (#11) #1

Workflow file for this run

name: deploy
on:
push:
tags:
- '**'
env:
IMAGE_NAME: fastlanetools/ci
jobs:
docker:
runs-on: ubuntu-latest
environment: deploy
steps:
- uses: actions/checkout@v5
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Extract metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.IMAGE_NAME }}
tags: |
type=ref,event=tag
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Build and push
uses: docker/build-push-action@v6
with:
sbom: true
push: true
provenance: mode=max
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}