Skip to content

Commit

Permalink
WIP build docker images on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
nodiscc committed Jul 25, 2023
1 parent 4cbba2f commit ff4b3b8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/docker-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build Docker image (non-master branches)
on:
push:
branches:
- '!master'
jobs:
docker-build:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build Docker image
id: docker_build
uses: docker/build-push-action@v2
with:
push: false
tags: shaarli/shaarli:$GITHUB_REF
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

0 comments on commit ff4b3b8

Please # to comment.