mirror of
https://git.sr.ht/~ashkeel/sourcehut-mirror-bridge
synced 2024-11-23 21:32:20 +00:00
fixed vars
All checks were successful
Build and push Docker image / build-and-publish (push) Successful in 2m5s
All checks were successful
Build and push Docker image / build-and-publish (push) Successful in 2m5s
This commit is contained in:
parent
36b93b0fce
commit
4f0035629d
1 changed files with 6 additions and 6 deletions
|
@ -12,21 +12,21 @@ jobs:
|
||||||
uses: https://codeberg.org/umglurf/kaniko-action@main
|
uses: https://codeberg.org/umglurf/kaniko-action@main
|
||||||
with:
|
with:
|
||||||
cache: true
|
cache: true
|
||||||
cache_repo: ${{ vars.DOCKER_REGISTRY }}/${{ github.repository }}/cache
|
cache_repo: ${{ vars.REGISTRY_URL }}/${{ github.repository }}/cache
|
||||||
credentials: |
|
credentials: |
|
||||||
${{ vars.DOCKER_REGISTRY }}=${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}
|
${{ vars.REGISTRY_URL }}=${{ secrets.REGISTRY_USERNAME }}:${{ secrets.REGISTRY_TOKEN }}
|
||||||
destinations: |
|
destinations: |
|
||||||
${{ vars.DOCKER_REGISTRY }}/${{ github.repository }}:latest ${{ vars.REGISTRY_URL }}/${{ github.repository }}:${{ github.sha }}
|
${{ vars.REGISTRY_URL }}/${{ github.repository }}:latest ${{ vars.REGISTRY_URL }}/${{ github.repository }}:${{ github.sha }}
|
||||||
push: "true"
|
push: "true"
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
- name: Build ref
|
- name: Build ref
|
||||||
uses: https://codeberg.org/umglurf/kaniko-action@main
|
uses: https://codeberg.org/umglurf/kaniko-action@main
|
||||||
with:
|
with:
|
||||||
cache: true
|
cache: true
|
||||||
cache_repo: ${{ vars.DOCKER_REGISTRY }}/${{ github.repository }}/cache
|
cache_repo: ${{ vars.REGISTRY_URL }}/${{ github.repository }}/cache
|
||||||
credentials: |
|
credentials: |
|
||||||
${{ vars.DOCKER_REGISTRY }}=${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}
|
${{ vars.REGISTRY_URL }}=${{ secrets.REGISTRY_USERNAME }}:${{ secrets.REGISTRY_TOKEN }}
|
||||||
destinations: |
|
destinations: |
|
||||||
${{ vars.DOCKER_REGISTRY }}/${{ github.repository }}:${{ github.ref_name }} ${{ vars.REGISTRY_URL }}/${{ github.repository }}:${{ github.sha }}
|
${{ vars.REGISTRY_URL }}/${{ github.repository }}:${{ github.ref_name }} ${{ vars.REGISTRY_URL }}/${{ github.repository }}:${{ github.sha }}
|
||||||
push: "true"
|
push: "true"
|
||||||
if: github.ref != 'refs/heads/master'
|
if: github.ref != 'refs/heads/master'
|
||||||
|
|
Loading…
Reference in a new issue