don't publish 'latest', actually
All checks were successful
arche-build-and-publish / gractwo-arche-build-test (push) Successful in 12s
All checks were successful
arche-build-and-publish / gractwo-arche-build-test (push) Successful in 12s
This commit is contained in:
@@ -16,7 +16,6 @@ jobs:
|
||||
- name: build image
|
||||
run: |
|
||||
docker buildx build --platform linux/amd64 \
|
||||
-t git.gractwo.pl/gractwo/arche:latest \
|
||||
-t git.gractwo.pl/gractwo/arche:${{env.short_sha}} \
|
||||
.
|
||||
- name: log into package registry
|
||||
@@ -26,9 +25,7 @@ jobs:
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.TOKEN2 }}
|
||||
- name: publish
|
||||
run: |
|
||||
docker push git.gractwo.pl/gractwo/arche:latest
|
||||
docker push git.gractwo.pl/gractwo/arche:${{env.short_sha}}
|
||||
run: docker push git.gractwo.pl/gractwo/arche:${{env.short_sha}}
|
||||
- uses: actions-hub/kubectl@master
|
||||
env:
|
||||
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
|
||||
|
||||
Reference in New Issue
Block a user