mirror of
https://github.com/mempool/mempool.git
synced 2025-03-03 17:47:01 +01:00
fix missing backslash
This commit is contained in:
parent
741a020579
commit
f937ea5745
1 changed files with 5 additions and 5 deletions
10
.github/workflows/on-tag.yml
vendored
10
.github/workflows/on-tag.yml
vendored
|
@ -27,6 +27,9 @@ jobs:
|
||||||
- name: Show set environment variables
|
- name: Show set environment variables
|
||||||
run: |
|
run: |
|
||||||
printf " TAG: %s\n" "$TAG"
|
printf " TAG: %s\n" "$TAG"
|
||||||
|
|
||||||
|
- name: Add SHORT_SHA env property with commit short sha
|
||||||
|
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Login to Docker for building
|
- name: Login to Docker for building
|
||||||
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
||||||
|
@ -34,9 +37,6 @@ jobs:
|
||||||
- name: Checkout project
|
- name: Checkout project
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Add SHORT_SHA env property with commit short sha
|
|
||||||
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Init repo for Dockerization
|
- name: Init repo for Dockerization
|
||||||
run: docker/init.sh "$TAG"
|
run: docker/init.sh "$TAG"
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ jobs:
|
||||||
--cache-to "type=local,dest=/tmp/.buildx-cache" \
|
--cache-to "type=local,dest=/tmp/.buildx-cache" \
|
||||||
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
||||||
--tag ${{ secrets.DOCKER_HUB_USER }}/${{ matrix.service }}:$TAG \
|
--tag ${{ secrets.DOCKER_HUB_USER }}/${{ matrix.service }}:$TAG \
|
||||||
--output "type=registry" ./${{ matrix.service }}/
|
--output "type=registry" ./${{ matrix.service }}/ \
|
||||||
--build-arg commitHash=$SHORT_SHA
|
--build-arg commitHash=$SHORT_SHA
|
||||||
|
|
||||||
- name: Run Docker buildx for ${{ matrix.service }} against latest
|
- name: Run Docker buildx for ${{ matrix.service }} against latest
|
||||||
|
@ -77,6 +77,6 @@ jobs:
|
||||||
--cache-to "type=local,dest=/tmp/.buildx-cache" \
|
--cache-to "type=local,dest=/tmp/.buildx-cache" \
|
||||||
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
||||||
--tag ${{ secrets.DOCKER_HUB_USER }}/${{ matrix.service }}:latest \
|
--tag ${{ secrets.DOCKER_HUB_USER }}/${{ matrix.service }}:latest \
|
||||||
--output "type=registry" ./${{ matrix.service }}/
|
--output "type=registry" ./${{ matrix.service }}/ \
|
||||||
--build-arg commitHash=$SHORT_SHA
|
--build-arg commitHash=$SHORT_SHA
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue