Bump rails from 7.0.8.5 to 7.1.4.1 #494
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set REVISION | |
run: echo "${{ github.sha }}" > REVISION | |
- name: Build the Docker image | |
run: docker build . --tag quay.io/rubygems/shipit:${{ github.sha }} | |
- name: Docker login | |
if: github.ref == 'refs/heads/master' | |
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin quay.io | |
- name: Push Docker image | |
if: github.ref == 'refs/heads/master' | |
run: docker push quay.io/rubygems/shipit:${{ github.sha }} |