diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 28a7d06..c2bd8e4 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -3,7 +3,7 @@ name: Deploy to docker hub and quay.io on: push: branches: - - master + - main tags: - 'v*' @@ -21,10 +21,10 @@ jobs: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - - name: Override tag for master - if: github.ref == 'refs/heads/master' - ##run: echo '::set-env name=IMAGE_TAG::master' - run: echo "name=IMAGE_TAG::master" >> $GITHUB_ENV + - name: Override tag for main + if: github.ref == 'refs/heads/main' + ##run: echo '::set-env name=IMAGE_TAG::main' + run: echo "name=IMAGE_TAG::main" >> $GITHUB_ENV - name: Get Image Name id: image_name diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 27df20f..6c2ec95 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -17,7 +17,7 @@ jobs: uses: jbangdev/jbang-action@v0.59.0 with: script: properties@jbangdev - - name: properties@jbangdev from master - uses: jbangdev/jbang-action@master + - name: properties@jbangdev from main + uses: jbangdev/jbang-action@main with: script: properties@jbangdev diff --git a/README.md b/README.md index b1e970d..48a4777 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This container intended for quick and easily run java based scripts with [jbang] Can be used directly with docker or as a GitHub Action. -The source is located in [jbangdev/jbang](https://github.com/jbangdev/jbang/blob/master/src/main/scripts/container/) and are updated in this repo on every tag/release of jbangdev/jbang. +The source is located in [jbangdev/jbang](https://github.com/jbangdev/jbang/blob/HEAD/src/main/scripts/container/) and are updated in this repo on every tag/release of jbangdev/jbang. [Source](https://github.com/jbangdev/jbang-action) diff --git a/container-structure-test.yaml b/container-structure-test.yaml index 26fb37a..fa9e17e 100644 --- a/container-structure-test.yaml +++ b/container-structure-test.yaml @@ -19,7 +19,7 @@ commandTests: - name: "hello world via url" command: "entrypoint" args: - - "https://github.com/jbangdev/jbang/blob/master/itests/helloworld.java" + - "https://github.com/jbangdev/jbang/blob/HEAD/itests/helloworld.java" expectedOutput: - "Hello World" - name: "Does trust work"