Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Merge pull request #20 from cloudnautique/main #21

Merge pull request #20 from cloudnautique/main

Merge pull request #20 from cloudnautique/main #21

Workflow file for this run

name: Publish Acorn service image
on:
push:
tags:
- "**/v[0-9]*"
paths-ignore:
- "utils/**"
jobs:
publish:
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: acorn-io/actions-setup@v2
with:
acorn-version: "main"
- uses: acorn-io/actions-login@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: set image and tag
run: ./scripts/setup_tags.sh
- name: Build and Publish
run: |
acorn build --platform linux/amd64 --platform linux/arm64 --push -t ghcr.io/acorn-io/aws/${IMAGE}:${TAG} ./${IMAGE}