Skip to content

Commit

Permalink
infra: edit ci [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilevos committed Dec 15, 2023
1 parent 862a928 commit 3c8411d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/docker-nft-ghostnet-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ jobs:
echo "date=$(date +%Y-%m-%dT%H-%M-%S)" >> "${GITHUB_OUTPUT}"
echo "sha_short=$(git rev-parse --short HEAD)" >> "${GITHUB_OUTPUT}"
- name: Replace endpoint
id: sed
run: |
set -x
ls -last .
sed -i 's|http://localhost:8000|https://staging.gas-station-api.marigold.dev|g' ./examples/nft/.env
sed -i 's|KT1Re88VMEJ7TLHTkXSHQYZQTD3MP3k7j6Ar|KT199yuNkHQKpy331A6fvWJtQ1uan9uya2jx|g' ./examples/nft/.env
sed -i 's|KT1Rp1rgfwS25XrWU6fUnR8cw6KMZBhDvXdq|KT1MLMXwFEMcfByGbGcQ9ow3nsrQCkLbcRAu|g' ./examples/nft/.env
cat ./examples/nft/.env
- name: Set up Docker Buildx
uses: docker/Setup-buildx-action@v2

Expand All @@ -41,10 +51,11 @@ jobs:
- name: Build and push version
uses: docker/build-push-action@v3
with:
file: ./Dockerfile.${{ matrix.network }}
context: ./
file: ./examples/nft/Dockerfile.${{ matrix.network }}
context: ./examples/nft/
push: true
tags: |
ghcr.io/marigold-dev/gas-station-nft-${{ matrix.network }}:${{ steps.vars.outputs.date }}-${{ steps.vars.outputs.sha_short }}-staging
cache-from: type=gha
cache-to: type=gha,mode=max

9 changes: 0 additions & 9 deletions .github/workflows/docker-nft-ghostnet.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
name: Docker nft ghostnet

on:
push:
branches:
- 'release-ghostnet' # to remove
pull_request:
branches:
- 'release-ghostnet' # to remove
types:
- closed
repository_dispatch:
types: [from-release-coord-repo]
workflow_dispatch: # to remove

jobs:
ui:
Expand Down

0 comments on commit 3c8411d

Please sign in to comment.