Sha256: 6437d5bd3a2239886e7c9c6b60e531e2ad1d5c99a34771e4c2066c8c3aa01fa7

Contents?: true

Size: 1.04 KB

Versions: 3

Compression:

Stored size: 1.04 KB

Contents

name: Publish production image
on:
  release:
    types: [published]
jobs:
  push_to_registry:
    name: Push Docker image to GitHub Packages
    runs-on: ubuntu-latest
    steps:
      - name: Check out the repo
        uses: actions/checkout@v2
      - name: Build reverse proxy
        uses: docker/build-push-action@v1
        with:
          username: ${{ github.actor }}
          password: ${{ secrets.GITHUB_TOKEN }}
          registry: docker.pkg.github.com
          repository: <%= repository_base_path %>/nginx
          target: reverse_proxy
          tag_with_ref: true
          tags: latest
      - name: Push to GitHub Packages
        uses: docker/build-push-action@v1
        with:
          username: ${{ github.actor }}
          password: ${{ secrets.GITHUB_TOKEN }}
          registry: docker.pkg.github.com
          repository: <%= repository_base_path %>/web
          target: production
          tag_with_ref: true
          tags: latest
        env:
          RAILS_MASTER_KEY: ${{ secrets.PROD_MASTER_KEY }}
          RAILS_ENV: production

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wellcar-0.0.3 lib/wellcar/templates/build-production-image.yml.erb
wellcar-0.0.2 lib/wellcar/templates/build-production-image.yml.erb
wellcar-0.0.1 lib/wellcar/templates/build-production-image.yml.erb