Skip to content

Commit

Permalink
remove branch filter on workflow_run and update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
kicito committed Oct 17, 2024
1 parent f701d59 commit 4abac57
Showing 1 changed file with 29 additions and 33 deletions.
62 changes: 29 additions & 33 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,29 @@
on:
push:
branches:
- master
workflow_run:
workflows: ["Trigger"]
branches:
- master
types:
- completed
jobs:
docker_build_and_push:
runs-on: ubuntu-latest
name: "JolieDoc Build"
steps:
- uses: actions/checkout@v1
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: fmontesi
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
file: ./docker/all.Dockerfile
push: true
no-cache: true
tags: jolielang/docs:latest

---
on:
push:
branches:
- master
workflow_run:
workflows: ["Trigger"]
types:
- completed
jobs:
docker_build_and_push:
runs-on: ubuntu-latest
name: "JolieDoc Build"
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: fmontesi
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
file: ./docker/all.Dockerfile
push: true
no-cache: true
tags: jolielang/docs:latest

0 comments on commit 4abac57

Please sign in to comment.