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
|
- name: build image
|
||||||
run: |
|
run: |
|
||||||
docker buildx build --platform linux/amd64 \
|
docker buildx build --platform linux/amd64 \
|
||||||
-t git.gractwo.pl/gractwo/arche:latest \
|
|
||||||
-t git.gractwo.pl/gractwo/arche:${{env.short_sha}} \
|
-t git.gractwo.pl/gractwo/arche:${{env.short_sha}} \
|
||||||
.
|
.
|
||||||
- name: log into package registry
|
- name: log into package registry
|
||||||
@@ -26,9 +25,7 @@ jobs:
|
|||||||
username: ${{ gitea.actor }}
|
username: ${{ gitea.actor }}
|
||||||
password: ${{ secrets.TOKEN2 }}
|
password: ${{ secrets.TOKEN2 }}
|
||||||
- name: publish
|
- name: publish
|
||||||
run: |
|
run: docker push git.gractwo.pl/gractwo/arche:${{env.short_sha}}
|
||||||
docker push git.gractwo.pl/gractwo/arche:latest
|
|
||||||
docker push git.gractwo.pl/gractwo/arche:${{env.short_sha}}
|
|
||||||
- uses: actions-hub/kubectl@master
|
- uses: actions-hub/kubectl@master
|
||||||
env:
|
env:
|
||||||
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
|
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
|
||||||
|
|||||||
Reference in New Issue
Block a user