Skip to content

Commit

Permalink
create v0.7.0-alpha release (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
samos123 committed Aug 2, 2023
1 parent 8f168b7 commit 3af3dd2
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 19 deletions.
56 changes: 42 additions & 14 deletions .github/workflows/docker-build-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- "v*.*.*"
pull_request:
jobs:
docker-pipeline:
controller:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -36,32 +36,60 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta-controller-manager.outputs.tags }}
labels: ${{ steps.meta-controller-manager.outputs.labels }}
installer:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: "${{ secrets.DOCKERHUB_USERNAME }}"
password: "${{ secrets.DOCKERHUB_TOKEN }}"
- name: Docker meta
id: meta-gcp-manager
id: meta-installer
uses: docker/metadata-action@v4
with:
images: substratusai/gcp-manager
images: substratusai/installer
- name: Build and push
id: build-and-push-gcp-manager
id: build-and-push-installer
uses: docker/build-push-action@v4
with:
context: .
file: Dockerfile.gcpmanager
context: install/
platforms: "linux/amd64,linux/arm64"
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta-gcp-manager.outputs.tags }}
labels: ${{ steps.meta-gcp-manager.outputs.labels }}
tags: ${{ steps.meta-installer.outputs.tags }}
labels: ${{ steps.meta-installer.outputs.labels }}
gcp-manager:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: "${{ secrets.DOCKERHUB_USERNAME }}"
password: "${{ secrets.DOCKERHUB_TOKEN }}"
- name: Docker meta
id: meta-installer
id: meta-gcp-manager
uses: docker/metadata-action@v4
with:
images: substratusai/installer
images: substratusai/gcp-manager
- name: Build and push
id: build-and-push-installer
id: build-and-push-gcp-manager
uses: docker/build-push-action@v4
with:
context: install/
context: .
file: Dockerfile.gcpmanager
platforms: "linux/amd64,linux/arm64"
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta-installer.outputs.tags }}
labels: ${{ steps.meta-installer.outputs.labels }}
tags: ${{ steps.meta-gcp-manager.outputs.tags }}
labels: ${{ steps.meta-gcp-manager.outputs.labels }}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# Image URL to use all building/pushing image targets
VERSION ?= v0.6.5-alpha
VERSION ?= v0.7.0-alpha
IMG ?= docker.io/substratusai/controller-manager:${VERSION}
IMG_GCPMANAGER ?= docker.io/substratusai/gcp-manager:${VERSION}

Expand Down
2 changes: 1 addition & 1 deletion config/gcpmanager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ kind: Kustomization
images:
- name: gcp-manager
newName: docker.io/substratusai/gcp-manager
newTag: v0.6.5-alpha
newTag: v0.7.0-alpha
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: Kustomization
images:
- name: controller
newName: docker.io/substratusai/controller-manager
newTag: v0.6.5-alpha
newTag: v0.7.0-alpha
- name: gcp-manager
newName: docker.io/substratusai/gcp-manager
newTag: v0.6.5-alpha
4 changes: 2 additions & 2 deletions install/kubernetes/system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1587,7 +1587,7 @@ spec:
envFrom:
- configMapRef:
name: system
image: docker.io/substratusai/controller-manager:v0.6.5-alpha
image: docker.io/substratusai/controller-manager:v0.7.0-alpha
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -1634,7 +1634,7 @@ spec:
app: gcp-manager
spec:
containers:
- image: docker.io/substratusai/gcp-manager:v0.6.5-alpha
- image: docker.io/substratusai/gcp-manager:v0.7.0-alpha
imagePullPolicy: Always
livenessProbe:
failureThreshold: 3
Expand Down

0 comments on commit 3af3dd2

Please sign in to comment.