Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker acp77 latest #2256

Merged
merged 12 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
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
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
tags:
- "*"
branches:
- acp-77

jobs:
# First confirm that the linting and unit tests pass at this commit prior to creating release artifacts.
Expand Down Expand Up @@ -59,8 +61,19 @@ jobs:

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Build Docker Image with acp77-latest tag
if: github.ref == 'refs/heads/acp-77' # special case for acp-77 branch
run: |
docker buildx build --pull --push --platform=linux/amd64,linux/arm64 \
-t avaplatform/avalanche-cli:acp77-latest \
-f ./Dockerfile .
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TELEMETRY_TOKEN: ${{ secrets.POSTHOG_PROD_TOKEN }}

- name: Run GoReleaser
if: github.ref != 'refs/heads/acp-77' # skip for acp-77 branch
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ============= Compilation Stage ================
FROM golang:1.20-bullseye AS builder
FROM golang:1.22.7-bullseye AS builder

WORKDIR /build
# Copy and download avalanche dependencies using go mod
Expand Down
Loading