This commit is contained in:
parent
d6f346200a
commit
fab61be362
@ -1,4 +1,4 @@
|
||||
Actions name: Publish Docker Image
|
||||
Actions name: Publish Docker Image (Development)
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@ -11,7 +11,14 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: https://github.com/actions/checkout@v3
|
||||
|
||||
- name: Download Docker
|
||||
- uses: actions/cache@v3
|
||||
id: docker-cache
|
||||
with:
|
||||
path: /usr/bin/docker
|
||||
key: ${{ runner.os }}-${{ hashFiles('**') }}
|
||||
|
||||
- name: Install Docker
|
||||
if: steps.docker-cache.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
wget -q -O /tmp/docker.tgz https://download.docker.com/linux/static/stable/x86_64/docker-20.10.23.tgz \
|
||||
&& tar --extract --file /tmp/docker.tgz --directory /usr/bin --strip-components 1 --no-same-owner docker/docker \
|
||||
@ -31,4 +38,4 @@ jobs:
|
||||
with:
|
||||
push: true
|
||||
context: .
|
||||
tags: fascinated/sharex-php-uploader:development
|
||||
tags: fascinated/sharex-php-uploader:latest
|
||||
|
Loading…
Reference in New Issue
Block a user