Updating build workflow #6

Merged
Fascinated merged 9 commits from development into master 2023-07-08 00:23:50 +00:00
Showing only changes of commit fab61be362 - Show all commits

@ -1,4 +1,4 @@
Actions name: Publish Docker Image Actions name: Publish Docker Image (Development)
on: on:
push: push:
branches: branches:
@ -11,7 +11,14 @@ jobs:
- name: Checkout - name: Checkout
uses: https://github.com/actions/checkout@v3 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: | run: |
wget -q -O /tmp/docker.tgz https://download.docker.com/linux/static/stable/x86_64/docker-20.10.23.tgz \ 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 \ && tar --extract --file /tmp/docker.tgz --directory /usr/bin --strip-components 1 --no-same-owner docker/docker \
@ -31,4 +38,4 @@ jobs:
with: with:
push: true push: true
context: . context: .
tags: fascinated/sharex-php-uploader:development tags: fascinated/sharex-php-uploader:latest