Skip to content

Commit

Permalink
fix merge conflicts in github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
bharath-123 committed May 30, 2024
1 parent c4e0b6b commit f75a280
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/astria-build-and-publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
workflow_dispatch:
push:
branches:
<<<<<<< HEAD
- "main"
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
Expand All @@ -30,31 +29,6 @@ jobs:
with:
go-version: "^1.21.x" # The Go version to download (if necessary) and use.
- run: go version
=======
- "astria"
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+"
# trigger on pull request updates when target is `astria` branch
pull_request:
branches:
- "astria"

jobs:
build-and-publish-latest:
runs-on: ubuntu-latest
steps:
# Checking out the repo
- uses: actions/checkout@v3
# Setting up Go
- uses: actions/setup-go@v4
with:
go-version: "^1.20.x" # The Go version to download (if necessary) and use.
- run: go version

>>>>>>> 315c87d76 (Feature/grpc execution api (#1))
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand All @@ -74,23 +48,13 @@ jobs:
uses: docker/metadata-action@v4
with:
images: |
<<<<<<< HEAD
ghcr.io/astriaorg/astria-geth
tags: |
type=ref,event=pr
type=match,pattern=v(.*),group=1
type=sha
# set latest tag for `astria` branch
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
=======
ghcr.io/astriaorg/go-ethereum
tags: |
type=ref,event=pr
type=semver,pattern={{major}}.{{minor}}.{{patch}}
type=sha
# set latest tag for `astria` branch
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'astria') }}
>>>>>>> 315c87d76 (Feature/grpc execution api (#1))
- name: Build and push
uses: docker/build-push-action@v4
with:
Expand All @@ -99,11 +63,7 @@ jobs:
provenance: false
context: .
# It takes a long time to build the arm image right now, so we only build it on tags which is what we use for releases, or on merges to the default branch.
<<<<<<< HEAD
platforms: ${{ (contains(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main') && 'linux/amd64,linux/arm64' || 'linux/amd64' }}
=======
platforms: ${{ (contains(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/astria') && 'linux/amd64,linux/arm64' || 'linux/amd64' }}
>>>>>>> 315c87d76 (Feature/grpc execution api (#1))
push: true
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}

0 comments on commit f75a280

Please sign in to comment.