Skip to content

Commit

Permalink
chore: updated github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
curious-mike-dvc committed Oct 23, 2024
1 parent eae715e commit e98ea7f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 35 deletions.
68 changes: 34 additions & 34 deletions .github/workflows/build-and-push-master.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
name: ci

on:
push:
branches:
- 'master'

jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
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: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
platforms: linux/amd64
tags: davikingcode/nginx-php-fpm:latest
#name: ci
#
#on:
# push:
# branches:
# - 'master'
#
#jobs:
# docker:
# runs-on: ubuntu-latest
# steps:
# -
# name: Checkout
# uses: actions/checkout@v2
# -
# 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: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
# -
# name: Build and push
# uses: docker/build-push-action@v2
# with:
# context: .
# push: true
# platforms: linux/amd64
# tags: davikingcode/nginx-php-fpm:latest
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: ci
on:
push:
tags:
- 'v*.*.*'
- 'php8.*-v*.*.*'
jobs:
test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit e98ea7f

Please sign in to comment.