Skip to content

chore(release): update changelog and bump version to 1.4.0-dev.2 (#2187) #22

chore(release): update changelog and bump version to 1.4.0-dev.2 (#2187)

chore(release): update changelog and bump version to 1.4.0-dev.2 (#2187) #22

name: Prebuild Dev Containers
on:
push:
paths:
- '.devcontainer/**'
- '.github/workflows/prebuild-devcontainers.yml'
- rust-toolchain.toml
- Dockerfile
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build and push devcontainer
runs-on: ["self-hosted", "linux", "x64", "ubuntu-platform"]
timeout-minutes: 60
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Node.JS
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install skopeo
run: |
sudo apt-get update
sudo apt-get install -y skopeo
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Setup Docker buildx
uses: docker/setup-buildx-action@v3
with:
use: true
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: dashpay
password: ${{ secrets.GHCR_TOKEN }}
- name: Build and push Platform devcontainer
uses: devcontainers/[email protected]
with:
imageName: ghcr.io/dashpay/platform/devcontainer
imageTag: 0.1.0
platform: linux/amd64,linux/arm64
configFile: .devcontainer/devcontainer-build.json
push: always
cacheFrom: ghcr.io/dashpay/platform/devcontainer