7 changed files with 5 additions and 101 deletions

No files matched your search

+5 -5
View File
@@ -5,7 +5,7 @@ on:
branches: branches:
- main - main
paths: paths:
- 'Dockerfile.base' - 'Dockerfile'
schedule: schedule:
- cron: "@monthly" - cron: "@monthly"
workflow_dispatch: workflow_dispatch:
@@ -16,22 +16,22 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4 uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
- name: Login to registry - name: Login to registry
uses: docker/login-action@v3 uses: docker/login-action@81c6f93d4bc991e510b342a00b419b3bb4efc5c6 # v4
with: with:
registry: ${{ vars.REGISTRY_URL }} registry: ${{ vars.REGISTRY_URL }}
username: ${{ secrets.REGISTRY_USER }} username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }} password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push base image - name: Build and push base image
uses: docker/build-push-action@v5 uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7
with: with:
context: . context: .
file: ./Dockerfile.base file: ./Dockerfile
push: true push: true
tags: ${{ vars.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/coder-base:latest tags: ${{ vars.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/coder-base:latest
-40
View File
@@ -1,40 +0,0 @@
name: Build CLI Image
on:
push:
branches:
- main
paths:
- 'tools/coder-cli/**'
schedule:
- cron: "@monthly"
workflow_dispatch:
jobs:
build:
name: Build CLI Image
runs-on: ubuntu-latest
concurrency:
group: cli
cancel-in-progress: false
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
- name: Login to registry
uses: docker/login-action@v3
with:
registry: ${{ vars.REGISTRY_URL }}
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push CLI image
uses: docker/build-push-action@v5
with:
context: .
file: ./tools/coder-cli/Dockerfile
push: true
tags: ${{ vars.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/coder-base:cli
@@ -1,40 +0,0 @@
name: Build Terraform Shell Image
on:
push:
branches:
- main
paths:
- "tools/terraform-shell/**"
schedule:
- cron: "@monthly"
workflow_dispatch:
jobs:
build:
name: Build Terraform Shell Image
runs-on: ubuntu-latest
concurrency:
group: terraform
cancel-in-progress: false
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
- name: Login to registry
uses: docker/login-action@v3
with:
registry: ${{ vars.REGISTRY_URL }}
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push shell image
uses: docker/build-push-action@v5
with:
context: .
file: ./tools/terraform-shell/Dockerfile
push: true
tags: ${{ vars.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/coder-base:terraform
View File
File renamed without changes.
-8
View File
@@ -2,13 +2,5 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [ "extends": [
"local>renovate/renovate-config" "local>renovate/renovate-config"
],
"packageRules": [
{
"matchPackageNames": [
"quay.io/buildah/stable"
],
"enabled": false
}
] ]
} }
-6
View File
@@ -1,6 +0,0 @@
FROM alpine:latest@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412
RUN apk add --no-cache curl sed
RUN curl -fsSL https://coder.com/install.sh | sh
ENTRYPOINT []
-2
View File
@@ -1,2 +0,0 @@
FROM docker.io/hashicorp/terraform:1.14.1@sha256:1de2a42a99e36490585dcb60c43daf9f11381b10f40a0c7ddfd1e03733009aec
ENTRYPOINT []