Skip to content

fix: Remove jetbrains_gateway module #31

fix: Remove jetbrains_gateway module

fix: Remove jetbrains_gateway module #31

Workflow file for this run

name: Build
on:
push:
tags:
- '*.*.*'
workflow_dispatch:
push:
branches:
- 'main'
tags:
- '*.*.*'
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker meta
id: tag_names
uses: docker/metadata-action@v5
with:
images: |
isi006/coder-development-cluster
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64 # ,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.tag_names.outputs.tags }}
labels: ${{ steps.tag_names.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max