Sha256: fecba7241b6cff831287747c09aa37193a94296e29e393ad8721a4e938743888

Contents?: true

Size: 739 Bytes

Versions: 9

Compression:

Stored size: 739 Bytes

Contents

name: Publish Docker Image

on:
  push:
    tags:
      - '*'

jobs:
  build-and-publish:
    runs-on: ubuntu-latest
    steps:
      - name: Check out the repository
        uses: actions/checkout@v3

      - name: Extract tag name
        id: get_tag
        run: echo "::set-output name=TAG_NAME::${GITHUB_REF#refs/tags/v}"

      - name: Log in to Docker Hub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}

      - name: Build and push Docker image
        uses: docker/build-push-action@v3
        with:
          context: .
          push: true
          tags: xinminlabs/synvert-ruby:${{ steps.get_tag.outputs.TAG_NAME }}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
synvert-1.10.1 .github/workflows/publish_docker_image.yml
synvert-1.10.0 .github/workflows/publish_docker_image.yml
synvert-1.9.0 .github/workflows/publish_docker_image.yml
synvert-1.8.0 .github/workflows/publish_docker_image.yml
synvert-1.7.0 .github/workflows/publish_docker_image.yml
synvert-1.6.4 .github/workflows/publish_docker_image.yml
synvert-1.6.3 .github/workflows/publish_docker_image.yml
synvert-1.6.2 .github/workflows/publish_docker_image.yml
synvert-1.6.1 .github/workflows/publish_docker_image.yml