mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-13 11:42:18 +00:00
* Update and rename ubuntu-18.04-compile.yml to ubuntu-compile.yml * Update ubuntu-compile.yml segregate output binaries * Update macos-10.15-compile.yml Add testnet branch to github action and compilation flag -std=c++17 * Update macos-10.15-compile.yml remove branch filter * Update windows2019x64-compile.yml * Update windows2019x64-compile.yml add flag /std:c++17 * Update windows2019x64-compile.yml * Update windows2019x64-compile.yml * Update ubuntu-compile.yml Add -DCMAKE_CXX_FLAGS="-std=c++17" * use CMAKE_CXX_STANDARD * Update macos-10.15-compile.yml remove -std=c++17 flag * Update ubuntu-compile.yml remove -DCMAKE_CXX_FLAGS="-std=c++17" flag * Update ubuntu-compile.yml remove space * Update ubuntu-18.04-ton-ccpcheck.yml remove branch filter * Update docker-ubuntu-image.yml remove branch filter Co-authored-by: dungeon-master-666 <dungeon666master@protonmail.com>
37 lines
872 B
YAML
37 lines
872 B
YAML
name: Docker Ubuntu 18.04 image
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
|
|
env:
|
|
REGISTRY: ghcr.io
|
|
IMAGE_NAME: ${{ github.repository }}
|
|
|
|
jobs:
|
|
build-and-push:
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v1
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v1
|
|
|
|
- name: Login to GitHub Container Registry
|
|
uses: docker/login-action@v1
|
|
with:
|
|
registry: ${{ env.REGISTRY }}
|
|
username: ${{ github.repository_owner }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Build and push
|
|
id: docker_build
|
|
uses: docker/build-push-action@v2
|
|
with:
|
|
push: true
|
|
context: ./docker
|
|
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|