Skip to content

Updating containers to report movement to API #179

Updating containers to report movement to API

Updating containers to report movement to API #179

Workflow file for this run

name: Create world image
on:
push:
branches:
- main
schedule:
- cron: '0 0 * * 0'
jobs:
build-topia-self-contained:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3
- name: Build image
run: |
cd dockerfiles/topia/self-contained
docker build -f Dockerfile . -t topia:self-contained
- name: Log in to container registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- name: Publish image
run: |
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/topia
docker tag topia:self-contained $IMAGE_ID:self-contained
docker push $IMAGE_ID:self-contained
build-topia-slim:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3
- name: Build image
run: |
cd dockerfiles/topia/slim
docker build -f Dockerfile . -t topia:slim
- name: Log in to container registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- name: Publish image
run: |
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/topia
docker tag topia:slim $IMAGE_ID:slim
docker push $IMAGE_ID:slim
build-topia-api-container:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3
- name: Build image
run: |
cd dockerfiles/topia/api-container
docker build -f Dockerfile . -t topia:api-container
- name: Log in to container registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- name: Publish image
run: |
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/topia
docker tag topia:api-container $IMAGE_ID:api-container
docker push $IMAGE_ID:api-container
build-venture-api-container:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3
- name: Build image
run: |
cd dockerfiles/venture/api-container
docker build -f Dockerfile . -t venture:api-container
- name: Log in to container registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- name: Publish image
run: |
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/venture
docker tag venture:api-container $IMAGE_ID:api-container
docker push $IMAGE_ID:api-container