Skip to content

chore: faraday is not working well with ruby 3, so we back on 2.7.7 #13

chore: faraday is not working well with ruby 3, so we back on 2.7.7

chore: faraday is not working well with ruby 3, so we back on 2.7.7 #13

Workflow file for this run

name: Docker Build and Push
on:
push:
branches:
- master
- pre
env:
RUBY_VERSION: '2.7.7' # Define the Ruby version here
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v4
- 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: Build and Push Docker Image
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
push: true
tags: dreamteammobile/gitlab-runner-heroku-dpl:${{ github.ref == 'refs/heads/pre' && 'v2' || 'v1' }}_${{ env.RUBY_VERSION }}
build-args: RUBY_VERSION=${{ env.RUBY_VERSION }}