Skip to content

test(integration): inline fresh run_id setup and remove payload helper #25

test(integration): inline fresh run_id setup and remove payload helper

test(integration): inline fresh run_id setup and remove payload helper #25

Workflow file for this run

name: Tagged Releases
on:
push:
tags:
- '*'
branches:
- 'main'
jobs:
publish-container-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Log into registry ghcr.io
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Build and push Orchestrator
if: ${{ github.ref == 'refs/heads/main' }}
uses: docker/build-push-action@v7
with:
context: .
platforms: linux/amd64,linux/arm64
tags: ghcr.io/intersect-sdk/campaign-orchestrator:latest
push: true
- name: Push tagged images
if: startsWith(github.ref, 'refs/tags')
uses: docker/build-push-action@v7
with:
context: .
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/intersect-sdk/campaign-orchestrator:${{ github.ref_name }}
push: true
- name: Build and push Random Number Service (latest)
if: ${{ github.ref == 'refs/heads/main' }}
uses: docker/build-push-action@v7
with:
context: ./services/random_number_service
platforms: linux/amd64,linux/arm64
tags: ghcr.io/intersect-sdk/campaign-orchestrator/random-number-service:latest
push: true
- name: Push tagged Random Number Service
if: startsWith(github.ref, 'refs/tags')
uses: docker/build-push-action@v7
with:
context: ./services/random_number_service
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/intersect-sdk/campaign-orchestrator/random-number-service:${{ github.ref_name }}
push: true