diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 0000000..6cc18d3 --- /dev/null +++ b/.github/workflows/push.yml @@ -0,0 +1,24 @@ +name: Build-Push + +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v1 + with: + fetch-depth: 1 + + - name: Docker Push + uses: opspresso/action-builder@master + with: + args: --docker + env: + USERNAME: ${{ secrets.DOCKER_USERNAME }} + PASSWORD: ${{ secrets.DOCKER_PASSWORD }} diff --git a/Dockerfile b/Dockerfile index 5686284..c6491f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM opspresso/awscli:1.16.245 +FROM opspresso/builder:alpine LABEL "com.github.actions.name"="Version Bump" LABEL "com.github.actions.description"="Increase the patch version." LABEL "com.github.actions.icon"="tag" LABEL "com.github.actions.color"="blue" -LABEL version=v0.1.1 +LABEL version=v0.2.1 LABEL repository="https://github.com/opspresso/action-version" LABEL maintainer="Jungyoul Yu " LABEL homepage="https://opspresso.com/" diff --git a/VERSION b/VERSION index 8308b63..22c08f7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.1.1 +v0.2.1 diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..202aa29 --- /dev/null +++ b/action.yml @@ -0,0 +1,11 @@ +name: 'Version Bump' +description: 'Increase the patch version.' +author: 'Jungyoul Yu <@nalbam>' + +branding: + icon: 'tag' + color: 'blue' + +runs: + using: 'docker' + image: 'Dockerfile'