Remove yarn cache from CI
This commit is contained in:
@@ -1,12 +1,8 @@
|
|||||||
name: Publish wallet docker image on release
|
name: Publish wallet docker image on release
|
||||||
|
|
||||||
# on:
|
|
||||||
# release:
|
|
||||||
# types: [published]
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
release:
|
||||||
branches: [ main ]
|
types: [published]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -20,14 +16,14 @@ jobs:
|
|||||||
id: vars
|
id: vars
|
||||||
run: |
|
run: |
|
||||||
echo ::set-output name=sha::$(echo ${GITHUB_SHA:0:7})
|
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
|
- name: Tag docker image
|
||||||
run: docker tag laconic-wallet-web git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.sha}}
|
run: docker tag laconic-wallet-web git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.sha}}
|
||||||
# - name: Tag docker image
|
- 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}}
|
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
|
- name: Docker Login
|
||||||
run: echo ${{ secrets.CICD_PUBLISH_TOKEN }} | docker login https://git.vdb.to -u laconiccicd --password-stdin
|
run: echo ${{ secrets.CICD_PUBLISH_TOKEN }} | docker login https://git.vdb.to -u laconiccicd --password-stdin
|
||||||
- name: Docker Push
|
- name: Docker Push
|
||||||
run: docker push git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.sha}}
|
run: docker push git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.sha}}
|
||||||
# - name: Docker Push TAGGED
|
- name: Docker Push TAGGED
|
||||||
# run: docker push git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.tag}}
|
run: docker push git.vdb.to/laconicnetwork/laconic-wallet-web:${{steps.vars.outputs.tag}}
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ jobs:
|
|||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '22'
|
node-version: '22'
|
||||||
cache: 'yarn'
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
|
|||||||
Reference in New Issue
Block a user