Update all of rails to version 7.1.1 (#594) #312
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 (release) | |
on: | |
push: | |
tags: | |
jobs: | |
build: | |
if: ${{ startsWith(github.ref, 'refs/tags/v') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get the version | |
id: get_version | |
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/} | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Docker Login | |
uses: docker/[email protected] | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Build and push Docker image | |
uses: docker/[email protected] | |
with: | |
context: . | |
build-args: | | |
SOURCE_COMMIT=${{ github.sha }} | |
tags: klausmeyer/docker-registry-browser:${{ steps.get_version.outputs.VERSION }} | |
platforms: linux/amd64,linux/arm64,linux/arm/v7 | |
push: true |