mirror of
https://github.com/k8snetworkplumbingwg/whereabouts.git
synced 2025-06-03 06:42:26 +00:00
Fix github action due to org change.
This commit is contained in:
parent
65a6e9b414
commit
cb38860d42
6
.github/workflows/image-build.yml
vendored
6
.github/workflows/image-build.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
||||
with:
|
||||
context: .
|
||||
push: false
|
||||
tags: dougbtv/whereabouts
|
||||
tags: ghcr.io/${{ github.repository }}:latest-amd64
|
||||
file: Dockerfile
|
||||
|
||||
build-openshift:
|
||||
@ -52,5 +52,5 @@ jobs:
|
||||
with:
|
||||
context: .
|
||||
push: false
|
||||
tags: dougbtv/whereabouts:latest-arm64
|
||||
file: Dockerfile.arm64
|
||||
tags: ghcr.io/${{ github.repository }}:latest-arm64
|
||||
file: Dockerfile.arm64
|
||||
|
22
.github/workflows/image-push-master.yml
vendored
22
.github/workflows/image-push-master.yml
vendored
@ -4,7 +4,7 @@ on:
|
||||
branches:
|
||||
- master
|
||||
env:
|
||||
image-push-owner: 'dougbtv'
|
||||
image-push-owner: 'k8snetworkplumbingwg'
|
||||
jobs:
|
||||
push-amd64:
|
||||
name: Image push/amd64
|
||||
@ -17,20 +17,20 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Login to Container Registry
|
||||
if: github.repository_owner == 'dougbtv'
|
||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
#registry: ghcr.io
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.CR_PAT }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Push container image
|
||||
if: github.repository_owner == 'dougbtv'
|
||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: dougbtv/whereabouts:latest
|
||||
tags: ghcr.io/${{ github.repository }}:latest-amd64
|
||||
file: Dockerfile
|
||||
|
||||
push-origin:
|
||||
@ -44,18 +44,18 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Login to Container Registry
|
||||
if: github.repository_owner == 'dougbtv'
|
||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
#registry: ghcr.io
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.CR_PAT }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Push container image
|
||||
if: github.repository_owner == 'dougbtv'
|
||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: dougbtv/whereabouts-ocp:latest
|
||||
tags: ghcr.io/${{ github.repository }}:latest-ocp
|
||||
file: Dockerfile.openshift
|
||||
|
26
.github/workflows/image-push-release.yml
vendored
26
.github/workflows/image-push-release.yml
vendored
@ -4,7 +4,7 @@ on:
|
||||
tags:
|
||||
- v*
|
||||
env:
|
||||
image-push-owner: 'dougbtv'
|
||||
image-push-owner: 'k8snetworkplumbingwg'
|
||||
jobs:
|
||||
push-amd64:
|
||||
name: Image push/amd64
|
||||
@ -17,23 +17,22 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Login to Container Registry
|
||||
if: github.repository_owner == 'dougbtv'
|
||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
#registry: ghcr.io
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.CR_PAT }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Docker meta
|
||||
id: docker_meta
|
||||
uses: crazy-max/ghaction-docker-meta@v1
|
||||
with:
|
||||
#images: ghcr.io/${{ github.repository }}
|
||||
images: dougbtv/whereabouts
|
||||
images: ghcr.io/${{ github.repository }}
|
||||
tag-latest: false
|
||||
|
||||
- name: Push container image
|
||||
if: github.repository_owner == 'dougbtv'
|
||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
@ -53,27 +52,26 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Login to Container Registry
|
||||
if: github.repository_owner == 'dougbtv'
|
||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
#registry: ghcr.io
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.CR_PAT }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Docker meta
|
||||
id: docker_meta
|
||||
uses: crazy-max/ghaction-docker-meta@v1
|
||||
with:
|
||||
#images: ghcr.io/${{ github.repository }}
|
||||
images: dougbtv/whereabouts
|
||||
images: ghcr.io/${{ github.repository }}
|
||||
tag-latest: false
|
||||
|
||||
- name: Push container image
|
||||
if: github.repository_owner == 'dougbtv'
|
||||
if: github.repository_owner == 'k8snetworkplumbingwg'
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: |
|
||||
${{ steps.docker_meta.outputs.tags }}-arm64
|
||||
file: deployments/Dockerfile
|
||||
file: deployments/Dockerfile
|
||||
|
Loading…
Reference in New Issue
Block a user