Skip to content

Fix other Discord link #87

Fix other Discord link

Fix other Discord link #87

Workflow file for this run

name: Docker Images
on:
push:
branches:
- main
tags:
- 'v*'
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Delete huge unnecessary tools folder
run: sudo rm -rf /opt/hostedtoolcache
- name: Remove unnecessary files
run: |
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
- name: Check out the repo
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push backend image
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: etown/owl:latest
platforms: linux/amd64,linux/arm64
- name: Build and push web image
uses: docker/build-push-action@v2
with:
context: ./clients/web
file: ./clients/web/Dockerfile
push: true
tags: etown/owl-web:latest
platforms: linux/amd64,linux/arm64