Skip to content

Commit

Permalink
Fix typo for the pipeline and update cloud-provider-kind dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
koksay committed Jul 16, 2024
1 parent d1fafc8 commit adb535d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
8 changes: 5 additions & 3 deletions .devcontainer/cloud-provider-kind/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
FROM docker:27.0.3-cli

ENV CLOUD_PROVIDER_KIND_VERSION=0.3.0

RUN apk add --no-cache wget && \
wget https://github.com/kubernetes-sigs/cloud-provider-kind/releases/download/v0.3.0/cloud-provider-kind_0.3.0_linux_amd64.tar.gz && \
tar zxvf cloud-provider-kind_0.3.0_linux_amd64.tar.gz cloud-provider-kind && mv cloud-provider-kind /usr/local/bin && \
rm cloud-provider-kind_0.3.0_linux_amd64.tar.gz
wget https://github.com/kubernetes-sigs/cloud-provider-kind/releases/download/v${CLOUD_PROVIDER_KIND_VERSION}/cloud-provider-kind_${CLOUD_PROVIDER_KIND_VERSION}_linux_amd64.tar.gz && \
tar zxvf cloud-provider-kind_${CLOUD_PROVIDER_KIND_VERSION}_linux_amd64.tar.gz cloud-provider-kind && mv cloud-provider-kind /usr/local/bin && \
rm cloud-provider-kind_${CLOUD_PROVIDER_KIND_VERSION}_linux_amd64.tar.gz

CMD ["/usr/local/bin/cloud-provider-kind"]
12 changes: 6 additions & 6 deletions .github/workflows/build_and_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
branches:
- 'main'
paths:
- '.devcontainers/base/**'
- '.devcontainers/cloud-provider-kind/**'
- '.devcontainer/base/**'
- '.devcontainer/cloud-provider-kind/**'

env:
CONTAINER_NAME: 'quay.io/kubermatic-labs/devcontainers'
Expand All @@ -25,8 +25,8 @@ jobs:
id: filter
with:
filters: |
base: '.devcontainers/base/**'
cloud-provider-kind: '.devcontainers/cloud-provider-kind/**'
base: '.devcontainer/base/**'
cloud-provider-kind: '.devcontainer/cloud-provider-kind/**'
generate_short_sha:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -67,8 +67,8 @@ jobs:
uses: docker/build-push-action@v5
with:
push: true
context: ./.devcontainers/${{ matrix.application }}
file: ./.devcontainers/${{ matrix.application }}/Dockerfile
context: ./.devcontainer/${{ matrix.application }}
file: ./.devcontainer/${{ matrix.application }}/Dockerfile
platforms: linux/arm64,linux/amd64
tags: |
${{ env.CONTAINER_NAME }}:${{ matrix.application }}-${{ needs.generate_short_sha.outputs.sha }}
Expand Down

0 comments on commit adb535d

Please sign in to comment.