7 changed files with 7 additions and 103 deletions

No files matched your search

+6 -6
View File
@@ -5,7 +5,7 @@ on:
branches:
- main
paths:
- 'Dockerfile.base'
- 'Dockerfile'
schedule:
- cron: "@monthly"
workflow_dispatch:
@@ -16,22 +16,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
- name: Login to registry
uses: docker/login-action@v3
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4
with:
registry: ${{ vars.REGISTRY_URL }}
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push base image
uses: docker/build-push-action@v5
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7
with:
context: .
file: ./Dockerfile.base
file: ./Dockerfile
push: true
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@v3
- 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@v3
- 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
+1 -1
View File
@@ -1,4 +1,4 @@
FROM docker.io/codercom/enterprise-base:ubuntu@sha256:f67716f8d4324625b3821482f44f7fff54a29c4204aa768e481d4fd19af8a742
FROM docker.io/codercom/enterprise-base:ubuntu@sha256:96a11110dd1ad7ec8dfc385b66e90eeac7096ce6c28aab2865d2a0b11f71e8d4
USER root
-8
View File
@@ -2,13 +2,5 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"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 []