Skip to content

fix: attempt to fix memory leak #234

fix: attempt to fix memory leak

fix: attempt to fix memory leak #234

Workflow file for this run

name: Publish Docker image
on:
push:
branches: [main]
tags: [v*]
pull_request:
types: [opened, synchronize]
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Image metadata
id: image_meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
file: Dockerfile
push: true
tags: ${{ steps.image_meta.outputs.tags }}
labels: ${{ steps.image_meta.outputs.labels }}
- uses: cowprotocol/autodeploy-action@v1
if: ${{ github.ref == 'refs/heads/main' }}
with:
images: ghcr.io/cowprotocol/watch-tower:main
tag: ${{ secrets.AUTODEPLOY_TAG }}
url: ${{ secrets.AUTODEPLOY_URL }}
token: ${{ secrets.AUTODEPLOY_TOKEN }}