Christopher Vagnetoft
af9bd1a3d5
Some checks failed
dockerbuild / Build docker image (push) Failing after 16s
38 lines
959 B
YAML
38 lines
959 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: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v2
|
|
with: # replace it with your local IP
|
|
config-inline: |
|
|
[registry."dev.noccylabs.info"]
|
|
http = true
|
|
insecure = true
|
|
- name: Login to DockerHub
|
|
uses: docker/login-action@v2
|
|
with:
|
|
registry: 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
|
|
tags: dev.noccylabs.info/noccylabs/alpine-php83-aio:latest
|
|
secrets: |
|
|
GIT
|