summaryrefslogtreecommitdiff
path: root/.github/workflows/docker.yml
AgeCommit message (Collapse)AuthorFilesLines
2023-01-12Update workflow dependencies (#1504)Riku Isokoski1-1/+1
* Update workflow dependencies ubuntu-latest vm has been updated from 20.04 to 22.04. To avoid sudden issues, use 22.04 explicitly. CMake doesn't need to be updated on 22.04, but ninja must be installed separately in the simulator workflow. actions/checkout@v2 uses deprecated Node.js 12. Update to v3 which uses 16
2022-07-19Fix Docker workflow not pushing on manual triggerFinlay Davidson1-7/+9
Also fix issue where workflow fails on pull requests when the user who made the pull request doesn't have the secrets set. Also allow other workflows to be triggered manually. Also don't trigger any workflows on pull requests to master, as there shouldn't be any pull requests against master.
2022-07-09Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants1-7/+5
2022-07-09Add 'workflow_dispatch' in the workflow file for Docker image generation to ↵Jean-François Milants1-0/+2
allow manually starting the workflow.
2022-07-09Docker workflow use separate username for loginFinlay Davidson1-7/+5
2022-07-08Only build Docker Images on develop, not masterFinlay Davidson1-2/+2
2022-07-08Make Docker workflow push to latest and commit shaFinlay Davidson1-1/+13
2022-07-08Don't try to cache to Docker Hub on pull requestFinlay Davidson1-1/+13
2022-07-08Use either a secret or infinitime as usernameFinlay Davidson1-4/+6
Uses either the DOCKER_HUB_USERNAME secret or just infinitime as the username for pushing to and pulling from Docker Hub.
2022-07-08Require event_name to be push for Docker HubFinlay Davidson1-2/+2
Instead of just checking if it's not pull_request
2022-07-08Hardcode the Docker Hub username as infinitimeFinlay Davidson1-4/+4
This is so that pull requests that modify the docker image but don't have the DOCKER_HUB_USERNAME secret set won't fail.
2022-07-08Create GH Actions workflow to build Docker imageFintasticMan1-0/+42