@ -2,7 +2,7 @@ name: Build Latest Containers
on :
on :
push:
push:
branches:
branches:
- gh-container-build
- master
workflow_dispatch : [ ]
workflow_dispatch : [ ]
jobs:
jobs:
@ -24,7 +24,6 @@ jobs:
type=raw,value=latest
type=raw,value=latest
labels : |
labels : |
org.opencontainers.image.title=seaweedfs
org.opencontainers.image.title=seaweedfs
org.opencontainers.image.description=SeaweedFS is a distributed storage system for blobs, objects, files, and data lake, to store and serve billions of files fast!
org.opencontainers.image.vendor=Chris Lu
org.opencontainers.image.vendor=Chris Lu
-
-
name : Set up QEMU
name : Set up QEMU
@ -36,14 +35,14 @@ jobs:
buildkitd-flags : "--debug"
buildkitd-flags : "--debug"
-
-
name : Login to Docker Hub
name : Login to Docker Hub
if : false
if : github.event_name != 'pull_request'
uses : docker/login-action@v1
uses : docker/login-action@v1
with:
with:
username : ${{ secrets.DOCKER_USERNAME }}
username : ${{ secrets.DOCKER_USERNAME }}
password : ${{ secrets.DOCKER_PASSWORD }}
password : ${{ secrets.DOCKER_PASSWORD }}
-
-
name : Login to GHCR
name : Login to GHCR
if : false
if : github.event_name != 'pull_request'
uses : docker/login-action@v1
uses : docker/login-action@v1
with:
with:
registry : ghcr.io
registry : ghcr.io
@ -54,7 +53,7 @@ jobs:
uses : docker/build-push-action@v2
uses : docker/build-push-action@v2
with:
with:
context : ./docker
context : ./docker
push : false
push : ${{ github.event_name != 'pull_request' }}
file : ./docker/Dockerfile
file : ./docker/Dockerfile
platforms : linux/amd64
platforms : linux/amd64
tags : ${{ steps.docker_meta.outputs.tags }}
tags : ${{ steps.docker_meta.outputs.tags }}
@ -90,14 +89,14 @@ jobs:
buildkitd-flags : "--debug"
buildkitd-flags : "--debug"
-
-
name : Login to Docker Hub
name : Login to Docker Hub
if : false
if : github.event_name != 'pull_request'
uses : docker/login-action@v1
uses : docker/login-action@v1
with:
with:
username : ${{ secrets.DOCKER_USERNAME }}
username : ${{ secrets.DOCKER_USERNAME }}
password : ${{ secrets.DOCKER_PASSWORD }}
password : ${{ secrets.DOCKER_PASSWORD }}
-
-
name : Login to GHCR
name : Login to GHCR
if : false
if : github.event_name != 'pull_request'
uses : docker/login-action@v1
uses : docker/login-action@v1
with:
with:
registry : ghcr.io
registry : ghcr.io
@ -108,7 +107,7 @@ jobs:
uses : docker/build-push-action@v2
uses : docker/build-push-action@v2
with:
with:
context : ./docker
context : ./docker
push : false
push : ${{ github.event_name != 'pull_request' }}
file : ./docker/Dockerfile.go_build
file : ./docker/Dockerfile.go_build
platforms : linux/amd64
platforms : linux/amd64
tags : ${{ steps.docker_meta.outputs.tags }}
tags : ${{ steps.docker_meta.outputs.tags }}