docker-alpine-php83-aio/.gitea/workflows/dockerbuild.yaml
Christopher Vagnetoft 73822d60ca
All checks were successful
dockerbuild / Build docker image (push) Successful in 1m8s
Workflow build arch fix
2024-02-06 02:49:18 +01:00

35 lines
885 B
YAML

name: dockerbuild
on:
push:
branches:
- master
jobs:
dockerbuild:
name: Build docker image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Docker
run: curl -fsSL https://get.docker.com | sh
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
registry: https://dev.noccylabs.info
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
push: true
platforms: |
linux/amd64
tags: dev.noccylabs.info/noccylabs/alpine-php83-aio:latest