Skip to content

Commit

Permalink
chore: add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Justintime50 committed Sep 23, 2024
1 parent 6e737e1 commit f30acb2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: release

on:
push:
tags:
- '*'

jobs:
release:
runs-on: ubuntu-latest
strategy:
matrix:
php_version: ['8.1', '8.2', '8.3']
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- name: Sign into Docker
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
- name: Build Docker image and push to Docker Hub
run: docker buildx build --push -t justintime50/easypost-tools-ui:${GITHUB_REF##*/} --build-arg PROD=true --platform linux/amd64,linux/arm64 .
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
services:
easypost-tools-ui:
build: .
# image: justintime50/easypost-tools-ui
restart: always
env_file:
- src/.env
Expand Down

0 comments on commit f30acb2

Please sign in to comment.