Skip to content

Merge pull request #5 from Tanq16/docupdate #6

Merge pull request #5 from Tanq16/docupdate

Merge pull request #5 from Tanq16/docupdate #6

Workflow file for this run

name: CST Cloud
on:
push:
branches:
- 'main'
workflow_dispatch:
jobs:
amd64:
runs-on: ubuntu-latest
env:
DOCKER_BUILDKIT: '1'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker Login
uses: docker/login-action@v3
with:
username: tanq16
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
- name: Build and Push Image
run: |
cd images/cloud
docker build -f builder.Dockerfile -t intermediate_builder .
docker builder prune -f
docker build -f Dockerfile -t tanq16/cst-cloud:amd .
docker push tanq16/cst-cloud:amd
# arm64:
# runs-on: ubuntu-latest
# env:
# DOCKER_BUILDKIT: '1'
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
# - name: Login to DockerHub
# uses: docker/login-action@v3
# with:
# username: tanq16
# password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
# - run: |
# cd images/cloud
# docker buildx build -o type=docker --platform=linux/arm64 -f builder.Dockerfile -t intermediate_builder .
# docker builder prune -f
# docker buildx build -o type=docker --platform=linux/arm64 -f Dockerfile -t tanq16/cst-cloud:arm .
# docker push tanq16/cst-cloud:arm