Skip to content

Merge pull request #19 from LaneaLucy/patch-1 #6

Merge pull request #19 from LaneaLucy/patch-1

Merge pull request #19 from LaneaLucy/patch-1 #6

Workflow file for this run

name: Docker Image CI
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64
push: false
tags: |
bedrin/docker-x-server:latest
# - name: Build the Docker image
# run: docker build . --file Dockerfile --tag docker-x-server:$(date +%s)