Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/astria-build-and-publish-image.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
build-and-publish-latest:
name: Build and Publish Docker image
on:
workflow_dispatch:
push:
branches:
- astria # Running this job only for astria branch
jobs:
build-and-publish-latest:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2 # Checking out the repo
- uses: actions/setup-go@v4
with:
go-version: "^1.20.x" # The Go version to download (if necessary) and use.
go-version: "^1.20.x" # The Go version to download (if necessary) and use.
- run: go version

- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin

# TODO - build for amd64 and arm64?
- name: Build and Publish latest Docker image
Expand Down