diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index cbfb28f..0000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,23 +0,0 @@ -# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created -# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages - -name: Publish - -on: - release: - types: [created] - -jobs: - docker_publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: docker/login-action@v2 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - run: | - docker build . --file Dockerfile --tag ghcr.io/technokrat/fahrplan/fahrplan:${{ github.ref_name }} --tag ghcr.io/technokrat/fahrplan/fahrplan:latest - docker push ghcr.io/technokrat/fahrplan/fahrplan:${{ github.ref_name }} - docker push ghcr.io/technokrat/fahrplan/fahrplan:latest \ No newline at end of file