Skip to content

chore(deps): update composer docker tag to v2.6 #44

chore(deps): update composer docker tag to v2.6

chore(deps): update composer docker tag to v2.6 #44

name: Publish release
on:
push:
branches:
- main
- next
jobs:
publish_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Prepare environment
run: make .env
- name: Build images
run: make build
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
if: github.ref == 'refs/heads/main'
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
if: github.ref == 'refs/heads/main'
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push images (new tag)
run: |
.ci/bin/push_image_version.sh ${{ steps.tag_version.outputs.new_tag }}
if: github.ref == 'refs/heads/main'
- name: Push images (next)
run: |
.ci/bin/push_image_version.sh next
if: github.ref == 'refs/heads/next'