Skip to content

Commit

Permalink
move to main
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandersen committed May 16, 2021
1 parent 93b01f1 commit e31acb3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy to docker hub and quay.io
on:
push:
branches:
- master
- main
tags:
- 'v*'

Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion container-structure-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e31acb3

Please sign in to comment.