2022-11-15 01:36:33 +03:00
|
|
|
name: docker
|
2022-06-28 06:31:57 +03:00
|
|
|
|
|
|
|
on:
|
2022-11-15 01:36:33 +03:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2022-06-28 06:31:57 +03:00
|
|
|
|
|
|
|
env:
|
2022-12-07 03:34:08 +03:00
|
|
|
GO_VERSION: 1.19
|
2022-06-28 06:31:57 +03:00
|
|
|
CGO_ENABLED: 0
|
|
|
|
IMAGE_REPOSITORY: sosedoff/pgweb
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
docker-build:
|
|
|
|
name: docker images
|
|
|
|
runs-on: ubuntu-latest
|
2022-07-24 02:46:07 +03:00
|
|
|
timeout-minutes: 30
|
2022-06-28 06:31:57 +03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
2022-11-15 01:36:33 +03:00
|
|
|
uses: actions/checkout@v3
|
2022-06-28 06:31:57 +03:00
|
|
|
|
|
|
|
- name: Set up QEMU
|
|
|
|
uses: docker/setup-qemu-action@v2
|
|
|
|
|
|
|
|
- name: Configure docker build context
|
|
|
|
uses: docker/setup-buildx-action@v2
|
|
|
|
|
|
|
|
- name: Build docker images
|
|
|
|
uses: docker/build-push-action@v2
|
|
|
|
with:
|
|
|
|
context: .
|
|
|
|
push: false
|
|
|
|
tags: pgweb:latest
|
|
|
|
platforms: linux/amd64,linux/arm64,linux/arm/v5,linux/arm/v7
|