From 399b3377a4ccb7e69ba8cdbadffaffd644b6e96e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20F=C3=BCrmann?= Date: Mon, 1 Apr 2024 19:54:11 +0200 Subject: [PATCH] Add Dockerfile --- .github/workflows/push_main.yaml | 9 +++++++++ babel.config.js | 6 ++++++ 2 files changed, 15 insertions(+) create mode 100644 babel.config.js diff --git a/.github/workflows/push_main.yaml b/.github/workflows/push_main.yaml index 030f395..1586363 100644 --- a/.github/workflows/push_main.yaml +++ b/.github/workflows/push_main.yaml @@ -33,6 +33,9 @@ jobs: build_image: runs-on: ubuntu-latest needs: ['build', 'test'] + permissions: + contents: read + packages: write steps: - uses: actions/checkout@v4 name: Checkout @@ -40,6 +43,12 @@ jobs: uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + - name: 'Login to GitHub Container Registry' + uses: docker/login-action@v1 + with: + registry: ghcr.io + username: ${{github.actor}} + password: ${{secrets.GITHUB_TOKEN}} - name: Build and push uses: docker/build-push-action@v5 with: diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 0000000..a50f080 --- /dev/null +++ b/babel.config.js @@ -0,0 +1,6 @@ +module.exports = { + presets: [ + ['@babel/preset-env', {targets: {node: 'current'}}], + '@babel/preset-typescript', + ], + }; \ No newline at end of file