mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2025-12-10 08:12:41 +01:00
Use GitHub actions to build Docker image
This commit is contained in:
19
.github/workflows/image.yml
vendored
Normal file
19
.github/workflows/image.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Build stable multiarch image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
- name: Build image
|
||||
run: bin/build
|
||||
Reference in New Issue
Block a user