Skip to content

Commit

Permalink
Upgrade actions
Browse files Browse the repository at this point in the history
  • Loading branch information
arddluma committed Feb 27, 2024
1 parent 861beb1 commit 91e374a
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Checkout frontend
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: frontend
- name: Get frontend package version
id: get_frontend_version
run: cd frontend && echo version=$(node -p "require('./package.json').version") >> $GITHUB_OUTPUT
run: cd frontend && ls -la && echo version=$(node -p "require('./package.json').version") >> $GITHUB_OUTPUT
- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push frontend Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: ./frontend
file: ./frontend/Dockerfile
Expand All @@ -40,23 +40,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Checkout admin_frontend
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: admin_frontend
- name: Get admin_frontend package version
id: get_admin_frontend_version
run: cd admin_frontend && echo version=$(node -p "require('./package.json').version") >> $GITHUB_OUTPUT
- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push admin_frontend Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: ./admin_frontend
file: ./admin_frontend/Dockerfile
Expand All @@ -70,23 +70,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Checkout backend
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: backend
- name: Get backend package version
id: get_backend_version
run: cd backend && echo version=$(node -p "require('./package.json').version") >> $GITHUB_OUTPUT
- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push backend Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: ./backend
file: ./backend/Dockerfile
Expand Down

0 comments on commit 91e374a

Please sign in to comment.