Skip to content

Commit

Permalink
Image version
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Rogerson committed Sep 27, 2023
1 parent 1cf97e7 commit 472e66b
Showing 1 changed file with 1 addition and 31 deletions.
32 changes: 1 addition & 31 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- synchronize
- reopened
- edited
- labeled
release:
types: [ published ]

Expand Down Expand Up @@ -186,34 +187,3 @@ jobs:
run: |
IMMEDIATE_VERSION=$(awk -F'-' '{print $1"-immediate"}' .version)
docker buildx build --platform linux/amd64,linux/arm64 -t orbsnetworkstaging/ethereum-writer:$IMMEDIATE_VERSION --push .
# release-to-staging:
# if: github.event_name == 'pull_request' && github.head_ref == 'main'
# needs: build-and-test
# runs-on: ubuntu-latest
# steps:
# - name: Check out repository
# uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - name: Setup node
# uses: actions/setup-node@v3
# with:
# node-version: 16
# - name: setup-docker
# uses: docker-practice/actions-setup-docker@master
# - name: Download build artifact
# uses: actions/download-artifact@v3
# with:
# name: build
# path: ./dist
# - name: Generate version
# run: ./create-version-file.sh
# - name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKER_HUB_STAGING_LOGIN }}
# password: ${{ secrets.DOCKER_HUB_STAGING_PASSWORD }}
# - name: Build and push image
# run: docker buildx build --platform linux/amd64,linux/arm64 -t orbsnetworkstaging/ethereum-writer:$(cat .version) --push .

0 comments on commit 472e66b

Please sign in to comment.