Remove yarn cache from CI
Some checks failed
Lint and Build / Run lint and build checks (pull_request) Failing after 26s
Some checks failed
Lint and Build / Run lint and build checks (pull_request) Failing after 26s
This commit is contained in:
parent
246c43ddfa
commit
c36228a9b9
@ -1,12 +1,8 @@
|
||||
name: Publish wallet docker image on release
|
||||
|
||||
# on:
|
||||
# release:
|
||||
# types: [published]
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -20,14 +16,14 @@ jobs:
|
||||
id: vars
|
||||
run: |
|
||||
echo ::set-output name=sha::$(echo ${GITHUB_SHA:0:7})
|
||||
# echo ::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/})
|
||||
echo ::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/})
|
||||
- name: Tag docker image
|
||||
run: docker tag laconic-wallet-web git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.sha}}
|
||||
# - name: Tag docker image
|
||||
# run: docker tag git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.sha}} git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.tag}}
|
||||
- name: Tag docker image
|
||||
run: docker tag git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.sha}} git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.tag}}
|
||||
- name: Docker Login
|
||||
run: echo ${{ secrets.CICD_PUBLISH_TOKEN }} | docker login https://git.vdb.to -u laconiccicd --password-stdin
|
||||
- name: Docker Push
|
||||
run: docker push git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.sha}}
|
||||
# - name: Docker Push TAGGED
|
||||
# run: docker push git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.tag}}
|
||||
- name: Docker Push TAGGED
|
||||
run: docker push git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.tag}}
|
||||
|
||||
@ -16,7 +16,6 @@ jobs:
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '22'
|
||||
cache: 'yarn'
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
|
||||
Loading…
Reference in New Issue
Block a user