Skip to content

Commit e48426f

Browse files
authored
Merge pull request #3 from unacast/faster-docker-file
Use Dockerfile
2 parents d06f9dd + 5de2196 commit e48426f

File tree

5 files changed

+12
-21
lines changed

5 files changed

+12
-21
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
args: bin/deployment-create-status bin/deployment-get-id
1717
- name: Docker build
18-
run: docker build -t actions-github-deployment-status . -f build-dockerfile
18+
run: docker build -t actions-github-deployment-status .
1919
- name: Docker Login
2020
if: github.ref == 'refs/heads/master'
2121
env:

Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM alpine:3.10
2+
3+
RUN mkdir /deploy-scripts
4+
5+
COPY ./bin /deploy-scripts/bin
6+
7+
ENTRYPOINT ["/deploy-scripts/bin/deployment-create-status"]
8+
9+
CMD [""]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ For example use this at the end of your job like this:
1212
- name: update deploy status
1313
if: always()
1414
uses: unacast/actions-github-deployment-status@master
15-
env:
15+
with:
1616
github_token: ${{ secrets.GITHUB_TOKEN }}
1717
status: ${{ job.status }}
1818
```

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ inputs:
1010
required: true
1111
runs:
1212
using: 'docker'
13-
image: 'docker://unacast/actions-github-deployment-status'
13+
image: 'Dockerfile'
1414
args: ['${{ inputs.status }}']
1515
branding:
1616
icon: 'send'

build-dockerfile

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)