fix(ci): typo
This commit is contained in:
parent
d2ef31b670
commit
098f32026f
3
.github/workflows/rust.yml
vendored
3
.github/workflows/rust.yml
vendored
@ -8,7 +8,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- 'rust-api'
|
|
||||||
paths:
|
paths:
|
||||||
- 'lib/pklib/**'
|
- 'lib/pklib/**'
|
||||||
- 'services/api/**'
|
- 'services/api/**'
|
||||||
@ -46,7 +45,7 @@ jobs:
|
|||||||
- run: |
|
- run: |
|
||||||
for binary in "api"; do
|
for binary in "api"; do
|
||||||
for tag in latest ${{ env.BRANCH_NAME }} ${{ github.sha }}; do
|
for tag in latest ${{ env.BRANCH_NAME }} ${{ github.sha }}; do
|
||||||
cat Dockerfile.bin | sed "s/__BINARY__/$binary/g" | docker build -t ghcr.io/pluralkit/$binary/$tag -f - .
|
cat Dockerfile.bin | sed "s/__BINARY__/$binary/g" | docker build -t ghcr.io/pluralkit/$binary:$tag -f - .
|
||||||
done
|
done
|
||||||
if [ "${{ github.repository }}" == "PluralKit/PluralKit" ]; then
|
if [ "${{ github.repository }}" == "PluralKit/PluralKit" ]; then
|
||||||
docker push ghcr.io/pluralkit/$binary:${{ env.BRANCH_NAME }}
|
docker push ghcr.io/pluralkit/$binary:${{ env.BRANCH_NAME }}
|
||||||
|
Loading…
Reference in New Issue
Block a user